Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001253/0.001253, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008149/0.0008149, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9092/0.9092, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2382/0.2382, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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.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.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.92e-05, allocations: 5.094 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002876/0.002905, allocations: 1.747 MB / 441.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.004261, allocations: 0.9819 MB / 442.4 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.886e-05/0.00436, allocations: 3.938 kB / 442.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.0047, allocations: 111.6 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.005063, allocations: 131.4 kB / 442.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.005294, allocations: 79.66 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.005516, allocations: 143.5 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.005626, allocations: 13.58 kB / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.005735, allocations: 79.8 kB / 443 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.005842, allocations: 67.86 kB / 443 MB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.00586, allocations: 4 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.005963, allocations: 63.91 kB / 443.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/0.006018, allocations: 39.78 kB / 443.1 MB, free: 0.6797 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.006061, allocations: 27.86 kB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.006292, allocations: 163.4 kB / 443.3 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.006296, allocations: 3.984 kB / 443.3 MB, free: 500 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006298, allocations: 0 / 443.3 MB, free: 500 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.006303, allocations: 0 / 443.3 MB, free: 500 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004722/0.006775, allocations: 389.2 kB / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.006816, allocations: 12.03 kB / 443.7 MB, free: 68 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.006847, allocations: 38.75 kB / 443.8 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.006884, allocations: 16.84 kB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1517/0.1586, allocations: 157.2 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1586, allocations: 6.469 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.1587, allocations: 5.469 kB / 443.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.1588, allocations: 80.83 kB / 444 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1588, allocations: 0 / 444 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1588, allocations: 2.359 kB / 444 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1588, allocations: 2.969 kB / 444 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.1589, allocations: 40.88 kB / 444.1 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.1592, allocations: 299 kB / 444.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1593, allocations: 75.41 kB / 444.4 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.1594, allocations: 31.48 kB / 444.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.1594, allocations: 0.8125 kB / 444.5 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.658e-05/0.1595, allocations: 86.42 kB / 444.5 MB, free: 46.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 8.12e-07/0.1595, allocations: 0.5625 kB / 444.5 MB, free: 46.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005224/0.16, allocations: 323.2 kB / 444.9 MB, free: 46.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/0.16, allocations: 57.3 kB / 444.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1602, allocations: 263.7 kB / 445.2 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.1602, allocations: 32.2 kB / 445.2 MB, free: 45.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.1602, allocations: 116.1 kB / 445.3 MB, free: 45.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1602, allocations: 50.11 kB / 445.4 MB, free: 45.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1603, allocations: 29.98 kB / 445.4 MB, free: 45.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.839e-05/0.1603, allocations: 330.1 kB / 445.7 MB, free: 45.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.1603, allocations: 40.33 kB / 445.8 MB, free: 45.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.1604, allocations: 58.36 kB / 445.8 MB, free: 45.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.1605, allocations: 106.8 kB / 445.9 MB, free: 45.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1605, allocations: 3.938 kB / 445.9 MB, free: 45.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001349/0.1606, allocations: 172.1 kB / 446.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1606, allocations: 9.25 kB / 446.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1606, allocations: 0 / 446.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1606, allocations: 2.969 kB / 446.1 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.1607, allocations: 28.14 kB / 446.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1607, allocations: 2.688 kB / 446.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.1607, allocations: 7.234 kB / 446.1 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1607, allocations: 5.781 kB / 446.1 MB, free: 45.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 5.712e-05/0.1608, allocations: 137.1 kB / 446.3 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.1608, allocations: 27.75 kB / 446.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.161, allocations: 206.4 kB / 446.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.161, allocations: 2.812 kB / 446.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.161, allocations: 0 / 446.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.161, allocations: 0 / 446.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1613, allocations: 485.2 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1613, allocations: 3.375 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.1614, allocations: 22.62 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1614, allocations: 6.25 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1614, allocations: 5.969 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1614, allocations: 0 / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1614, allocations: 3.938 kB / 447 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.1615, allocations: 285.6 kB / 447.3 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.1616, allocations: 13.78 kB / 447.3 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1616, allocations: 7.031 kB / 447.3 MB, free: 44.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.1616, allocations: 15.36 kB / 447.3 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.1616, allocations: 15.2 kB / 447.3 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1617, allocations: 5.469 kB / 447.4 MB, free: 44.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.243e-05/0.1617, allocations: 196 kB / 447.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1617, allocations: 0 / 447.5 MB, free: 44.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.1619, allocations: 43.83 kB / 447.6 MB, free: 44.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009635/0.1629, allocations: 1.264 MB / 448.9 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.163, allocations: 111.6 kB / 449 MB, free: 43.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.163, allocations: 0 / 449 MB, free: 43.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.466e-05/0.1631, allocations: 56.25 kB / 449 MB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1633, allocations: 22.64 kB / 449 MB, free: 43.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1644, allocations: 2.056 MB / 451.1 MB, free: 41.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.1645, allocations: 119.2 kB / 451.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.312e-05/0.1645, allocations: 26.89 kB / 451.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.1646, allocations: 56.86 kB / 451.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1646, allocations: 0 / 451.3 MB, free: 41.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.1794, allocations: 5.236 MB / 456.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.65/6.83, allocations: 3.938 kB / 456.5 MB, free: 40.37 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.794770397245884]