Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.001189/0.001189, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001439/0.001439, allocations: 192 kB / 18.56 MB, free: 4.434 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.473/1.473, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2186/0.2186, allocations: 44.19 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 63.58 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1506, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004202/0.1548, allocations: 1.657 MB / 471 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1564, allocations: 0.8535 MB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1566, allocations: 4 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.1571, allocations: 47.81 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003805/0.1575, allocations: 63.69 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.158, allocations: 103.6 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.1583, allocations: 95.69 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.592e-05/0.1583, allocations: 11.98 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1585, allocations: 31.86 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1586, allocations: 31.73 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.1586, allocations: 4 kB / 472.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.1588, allocations: 31.98 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.1589, allocations: 27.91 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.233e-05/0.159, allocations: 43.67 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.1593, allocations: 119.8 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1593, allocations: 0 / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1593, allocations: 0 / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1593, allocations: 4 kB / 472.5 MB, free: 11.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006771/0.16, allocations: 434.7 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.16, allocations: 8.031 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.1601, allocations: 34.75 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1601, allocations: 16.75 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1604, allocations: 212 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1604, allocations: 384 / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1604, allocations: 7.938 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1606, allocations: 49.67 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1606, allocations: 0 / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1606, allocations: 4 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1606, allocations: 4 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.773e-05/0.1607, allocations: 15.92 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.1609, allocations: 185.7 kB / 473.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1611, allocations: 54.55 kB / 473.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.1611, allocations: 24.84 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1612, allocations: 0 / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.1614, allocations: 67.39 kB / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.446e-06/0.1614, allocations: 0 / 473.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002912/0.1617, allocations: 101.4 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.1618, allocations: 51.41 kB / 473.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.162, allocations: 266.9 kB / 474 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.162, allocations: 29.7 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.1621, allocations: 112.1 kB / 474.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1622, allocations: 3.906 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.877e-05/0.1622, allocations: 25.7 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1624, allocations: 326.8 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.217e-05/0.1624, allocations: 12 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.1625, allocations: 29.7 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1626, allocations: 57.83 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1626, allocations: 3.938 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000159/0.1628, allocations: 81.44 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1628, allocations: 8 kB / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1628, allocations: 0 / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1628, allocations: 0 / 474.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.1629, allocations: 11.98 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1629, allocations: 8.031 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.163, allocations: 7.844 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.163, allocations: 11.94 kB / 474.7 MB, free: 8.68 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: 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 (7): * Single equations (assignments): 7 * 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.0001121/0.1631, allocations: 129.8 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1631, allocations: 11.91 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.1632, allocations: 20.98 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1632, allocations: 0 / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1632, allocations: 0 / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1632, allocations: 0 / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1634, allocations: 205.5 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1634, allocations: 0 / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.1634, allocations: 7.938 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1634, allocations: 0 / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1634, allocations: 4 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1634, allocations: 0 / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1635, allocations: 160 / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.1637, allocations: 116.8 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.1637, allocations: 92.92 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1637, allocations: 7.984 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.1638, allocations: 128 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.1638, allocations: 4 kB / 475.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1638, allocations: 4 kB / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000171/0.164, allocations: 204.2 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.164, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1643, allocations: 16 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001286/0.1656, allocations: 0.9578 MB / 476.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.1658, allocations: 43.92 kB / 476.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1658, allocations: 0 / 476.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.1658, allocations: 23.98 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1661, allocations: 30.52 kB / 476.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.168, allocations: 1.65 MB / 478.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.1683, allocations: 0.7119 MB / 478.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.217e-05/0.1684, allocations: 8.562 kB / 478.9 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.1684, allocations: 39.42 kB / 479 MB, free: 4.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1685, allocations: 0 / 479 MB, free: 4.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.1919, allocations: 3.321 MB / 482.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.574, allocations: 16 kB / 482.3 MB, free: 1.086 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches