Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 241.8 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2489/0.2489, allocations: 44.18 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68.98 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1361, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00377/0.1399, allocations: 2.08 MB / 470.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1417, allocations: 1.158 MB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.1418, allocations: 0 / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1421, allocations: 47.7 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.1424, allocations: 135.5 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.1436, allocations: 0.56 MB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.1439, allocations: 298.9 kB / 472.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1441, allocations: 76.62 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1443, allocations: 119.5 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.1446, allocations: 195.2 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.979e-05/0.1446, allocations: 12 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1448, allocations: 55.98 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.1449, allocations: 139.5 kB / 473.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.1451, allocations: 166.6 kB / 473.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.1455, allocations: 402.4 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.1455, allocations: 0 / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1455, allocations: 4 kB / 474 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1455, allocations: 0 / 474 MB, free: 9.328 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001141/0.1467, allocations: 0.7969 MB / 474.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1467, allocations: 8.031 kB / 474.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.1468, allocations: 50.69 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/0.1469, allocations: 56.19 kB / 474.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.1475, allocations: 467.7 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1475, allocations: 8.375 kB / 475.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.1476, allocations: 19.94 kB / 475.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.1479, allocations: 158.9 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.148, allocations: 3.906 kB / 475.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.148, allocations: 8 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.148, allocations: 0 / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1483, allocations: 123.9 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.1494, allocations: 0.7152 MB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.1497, allocations: 133.2 kB / 476.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.1498, allocations: 69.8 kB / 476.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1499, allocations: 7.984 kB / 476.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1499, allocations: 38.5 kB / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.696e-06/0.1499, allocations: 0 / 476.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002081/0.152, allocations: 0.7397 MB / 477.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.1521, allocations: 77.11 kB / 477.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1531, allocations: 0.8867 MB / 478.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1531, allocations: 33.7 kB / 478.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.1534, allocations: 256.4 kB / 478.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.1534, allocations: 75.12 kB / 478.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.1535, allocations: 33.7 kB / 478.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1537, allocations: 382.6 kB / 479.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.154, allocations: 115.8 kB / 479.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.1543, allocations: 132.4 kB / 479.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.1549, allocations: 245.5 kB / 479.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1549, allocations: 0 / 479.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007174/0.1556, allocations: 340.7 kB / 480 MB, free: 3.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1556, allocations: 8 kB / 480 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1557, allocations: 0 / 480 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1557, allocations: 0 / 480 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.156, allocations: 59.88 kB / 480 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.156, allocations: 4.938 kB / 480 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1562, allocations: 23.98 kB / 480.1 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.1562, allocations: 11.92 kB / 480.1 MB, free: 3.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.1564, allocations: 213.7 kB / 480.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1565, allocations: 59.25 kB / 480.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008156/0.1574, allocations: 394.1 kB / 480.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1574, allocations: 7.984 kB / 480.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1574, allocations: 0 / 480.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1574, allocations: 0 / 480.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.1588, allocations: 0.9542 MB / 481.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1588, allocations: 0 / 481.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.1591, allocations: 55.95 kB / 481.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1591, allocations: 4 kB / 481.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1591, allocations: 3.984 kB / 481.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1592, allocations: 7.938 kB / 481.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1592, allocations: 0 / 481.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.16, allocations: 0.506 MB / 482.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.1601, allocations: 160.3 kB / 482.4 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.1602, allocations: 4 kB / 482.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.1605, allocations: 23.92 kB / 482.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.1605, allocations: 19.91 kB / 482.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1606, allocations: 19.98 kB / 482.5 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006809/0.1612, allocations: 0.6474 MB / 483.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1613, allocations: 0 / 483.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1616, allocations: 68 kB / 483.2 MB, free: 15.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001892/0.1635, allocations: 1.347 MB / 484.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.1642, allocations: 271.6 kB / 484.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1642, allocations: 0 / 484.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1645, allocations: 139.8 kB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.1652, allocations: 74.95 kB / 485 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007101/0.1723, allocations: 5.629 MB / 490.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.1728, allocations: 0.8695 MB / 491.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002684/0.173, allocations: 111.2 kB / 491.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.1733, allocations: 180.1 kB / 491.8 MB, free: 7.203 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1733, allocations: 0 / 491.8 MB, free: 7.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.1946, allocations: 9.734 MB / 0.4898 GB, free: 13.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.1949, allocations: 239.5 kB / 0.49 GB, free: 13.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.09, allocations: 0 / 0.49 GB, free: 13.33 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches