Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.00109/0.001091, allocations: 106 kB / 15.98 MB, free: 6.34 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.001065/0.001065, allocations: 197.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3937/0.3937, allocations: 43.5 MB / 313.6 MB, free: 8.262 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 67.89 kB / 382.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.149, allocations: 57.78 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004202/0.1533, allocations: 1.968 MB / 442.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1548, allocations: 0.8196 MB / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1549, allocations: 0 / 442.9 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1552, allocations: 39.77 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1555, allocations: 51.83 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1558, allocations: 91.83 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1561, allocations: 139.5 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1562, allocations: 33.69 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1564, allocations: 67.7 kB / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1565, allocations: 43.72 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1565, allocations: 8 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1566, allocations: 43.98 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.1567, allocations: 31.84 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.197e-05/0.1568, allocations: 59.59 kB / 443.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.157, allocations: 139.6 kB / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.157, allocations: 0 / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.157, allocations: 0 / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.157, allocations: 0 / 443.6 MB, free: 10.84 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007317/0.1578, allocations: 480.5 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1578, allocations: 11.89 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.1579, allocations: 38.75 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.158, allocations: 16.75 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1582, allocations: 224.8 kB / 444.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1582, allocations: 4.375 kB / 444.4 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1583, allocations: 11.94 kB / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.1585, allocations: 112.2 kB / 444.5 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1585, allocations: 3.938 kB / 444.5 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1586, allocations: 0 / 444.5 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1586, allocations: 4 kB / 444.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1587, allocations: 47.97 kB / 444.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.1594, allocations: 0.5125 MB / 445.1 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.1597, allocations: 86.67 kB / 445.2 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.1598, allocations: 44.77 kB / 445.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1599, allocations: 4 kB / 445.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.1601, allocations: 79.38 kB / 445.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1601, allocations: 0 / 445.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003813/0.1605, allocations: 145.7 kB / 445.4 MB, free: 8.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1605, allocations: 55.5 kB / 445.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1607, allocations: 195.3 kB / 445.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1607, allocations: 25.7 kB / 445.7 MB, free: 8.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.1608, allocations: 116 kB / 445.8 MB, free: 8.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.1609, allocations: 31.64 kB / 445.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.1609, allocations: 25.72 kB / 445.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1611, allocations: 330.8 kB / 446.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.1611, allocations: 27.98 kB / 446.2 MB, free: 8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.1613, allocations: 72.2 kB / 446.3 MB, free: 7.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.1614, allocations: 96.22 kB / 446.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1614, allocations: 4 kB / 446.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002584/0.1617, allocations: 133.3 kB / 446.5 MB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1617, allocations: 4 kB / 446.5 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1617, allocations: 4 kB / 446.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1618, allocations: 7.938 kB / 446.5 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.1619, allocations: 23.92 kB / 446.6 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1619, allocations: 8.125 kB / 446.6 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.814e-05/0.162, allocations: 15.89 kB / 446.6 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.162, allocations: 4 kB / 446.6 MB, free: 7.598 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.522e-05/0.1621, allocations: 121.8 kB / 446.7 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.1621, allocations: 15.81 kB / 446.7 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.1622, allocations: 17.39 kB / 446.7 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1622, allocations: 3.938 kB / 446.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1622, allocations: 4 kB / 446.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1622, allocations: 0 / 446.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.1624, allocations: 221.5 kB / 447 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1624, allocations: 3.938 kB / 447 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.1625, allocations: 12.08 kB / 447 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1625, allocations: 3.938 kB / 447 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.1625, allocations: 8 kB / 447 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1625, allocations: 3.938 kB / 447 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1625, allocations: 0 / 447 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.1629, allocations: 184.8 kB / 447.2 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.1629, allocations: 89.03 kB / 447.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.163, allocations: 0 / 447.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.005e-05/0.163, allocations: 7.938 kB / 447.3 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1631, allocations: 11.98 kB / 447.3 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1631, allocations: 4 kB / 447.3 MB, free: 6.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1632, allocations: 137.2 kB / 447.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1632, allocations: 0 / 447.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.1634, allocations: 32.03 kB / 447.5 MB, free: 6.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001566/0.165, allocations: 1.034 MB / 448.5 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1653, allocations: 84.02 kB / 448.6 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1653, allocations: 3.938 kB / 448.6 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1654, allocations: 39.92 kB / 448.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1658, allocations: 44.08 kB / 448.7 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.168, allocations: 1.764 MB / 450.4 MB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.1684, allocations: 0.7123 MB / 451.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.1685, allocations: 21.42 kB / 451.1 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.1686, allocations: 39.42 kB / 451.2 MB, free: 2.781 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1686, allocations: 0 / 451.2 MB, free: 2.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2356/0.4042, allocations: 3.555 MB / 454.7 MB, free: 48.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.4044, allocations: 233.7 kB / 455 MB, free: 48.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.179, allocations: 2.625 kB / 455 MB, free: 48.32 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches