Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007848/0.0007848, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008307/0.0008307, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8982/0.8982, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2433/0.2433, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.687e-05, allocations: 3.266 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002491/0.002508, allocations: 1.62 MB / 443.8 MB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1687/0.1712, allocations: 1.251 MB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.1713, allocations: 2.781 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.1715, allocations: 21.86 kB / 445.1 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1717, allocations: 87.94 kB / 445.2 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.1718, allocations: 111.3 kB / 445.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.1719, allocations: 83.23 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.433e-05/0.172, allocations: 21.45 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.65e-05/0.1721, allocations: 39.81 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.32e-05/0.1722, allocations: 29.12 kB / 445.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.1722, allocations: 5.094 kB / 445.5 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.592e-05/0.1723, allocations: 89.16 kB / 445.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.1723, allocations: 25.97 kB / 445.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.1723, allocations: 16.64 kB / 445.6 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1725, allocations: 161.7 kB / 445.7 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.1725, allocations: 0 / 445.7 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1725, allocations: 4.062 kB / 445.7 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1725, allocations: 3.422 kB / 445.7 MB, free: 43 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002967/0.1728, allocations: 326.6 kB / 446.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1728, allocations: 10.59 kB / 446.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.036e-05/0.1728, allocations: 38.31 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.1729, allocations: 14.83 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.173, allocations: 145 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-06/0.173, allocations: 3 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.173, allocations: 2.938 kB / 446.3 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1731, allocations: 106.2 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1731, allocations: 2.531 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.1731, allocations: 4.469 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1731, allocations: 1.125 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.384e-05/0.1732, allocations: 42.45 kB / 446.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.1734, allocations: 281.7 kB / 446.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.1735, allocations: 63.34 kB / 446.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.1735, allocations: 17.95 kB / 446.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1735, allocations: 3.234 kB / 446.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.1735, allocations: 33.28 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.1735, allocations: 0.7188 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003775/0.1739, allocations: 200.7 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.1739, allocations: 77.11 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.174, allocations: 150 kB / 447.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.174, allocations: 29.7 kB / 447.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.1741, allocations: 100.3 kB / 447.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.1741, allocations: 25.5 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.1741, allocations: 19.69 kB / 447.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.386e-05/0.1741, allocations: 326.8 kB / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.1742, allocations: 26.2 kB / 447.8 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.272e-05/0.1742, allocations: 71.17 kB / 447.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.1743, allocations: 77.58 kB / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1743, allocations: 2.969 kB / 447.9 MB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001028/0.1744, allocations: 102.1 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.1744, allocations: 5.938 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.1744, allocations: 2.25 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1744, allocations: 3.375 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.1745, allocations: 17.67 kB / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.1745, allocations: 0 / 448 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.1745, allocations: 10 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1745, allocations: 7.938 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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 3.873e-05/0.1745, allocations: 126.5 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.1746, allocations: 6.797 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.1747, allocations: 135.3 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1747, allocations: 2.844 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1747, allocations: 0 / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1747, allocations: 3.281 kB / 448.3 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1749, allocations: 371.9 kB / 448.7 MB, free: 40.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1749, allocations: 5 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.984e-05/0.175, allocations: 18.23 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.175, allocations: 0 / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.175, allocations: 6.109 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.175, allocations: 3.938 kB / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.175, allocations: 0 / 448.7 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/0.1751, allocations: 204 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.1751, allocations: 7.047 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.1751, allocations: 10.09 kB / 448.9 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.664e-05/0.1751, allocations: 14.17 kB / 448.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.1752, allocations: 6.125 kB / 448.9 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1752, allocations: 4.969 kB / 449 MB, free: 40.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.952e-05/0.1752, allocations: 117.4 kB / 449.1 MB, free: 40.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1752, allocations: 0 / 449.1 MB, free: 40.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001674/0.1754, allocations: 45.12 kB / 449.1 MB, free: 40.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0008368/0.1762, allocations: 1.169 MB / 450.3 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.1763, allocations: 68.98 kB / 450.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.1763, allocations: 2.938 kB / 450.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.1764, allocations: 41.2 kB / 450.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.1766, allocations: 23.14 kB / 450.4 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.1774, allocations: 1.564 MB / 452 MB, free: 38.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.1774, allocations: 84.25 kB / 452.1 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.1775, allocations: 19.53 kB / 452.1 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.1775, allocations: 35.52 kB / 452.1 MB, free: 38.1 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1775, allocations: 0 / 452.1 MB, free: 38.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.1949, allocations: 4.224 MB / 456.3 MB, free: 36.62 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.616/6.811, allocations: 4 kB / 456.3 MB, free: 36.62 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.736452559940517]