Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001021/0.001021, allocations: 111 kB / 17.33 MB, free: 6.02 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.001082/0.001082, allocations: 197.3 kB / 18.25 MB, free: 5.113 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.447/1.447, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2383/0.2383, allocations: 44.17 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1437, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004046/0.1478, allocations: 1.753 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.1506, allocations: 1.464 MB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1508, allocations: 0 / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.1512, allocations: 27.91 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.1516, allocations: 55.77 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.152, allocations: 99.44 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000207/0.1522, allocations: 103.7 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1523, allocations: 12.22 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1524, allocations: 51.78 kB / 472.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1526, allocations: 47.77 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.1527, allocations: 4 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.1528, allocations: 59.97 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.1529, allocations: 19.92 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.153, allocations: 35.8 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.1533, allocations: 131.9 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.1533, allocations: 3.984 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1533, allocations: 3.938 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1533, allocations: 0 / 472.7 MB, free: 10.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006377/0.154, allocations: 415 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.154, allocations: 12.02 kB / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.1541, allocations: 30.75 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.1541, allocations: 8.844 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1544, allocations: 212.5 kB / 473.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1544, allocations: 8 kB / 473.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.1545, allocations: 0 / 473.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1547, allocations: 87.3 kB / 473.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1547, allocations: 0 / 473.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1547, allocations: 4 kB / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1547, allocations: 0 / 473.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.1548, allocations: 27.97 kB / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.1553, allocations: 292.8 kB / 473.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1555, allocations: 78.61 kB / 473.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.1556, allocations: 20.84 kB / 473.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1556, allocations: 4 kB / 473.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.1559, allocations: 71.45 kB / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.644e-06/0.1559, allocations: 0 / 473.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006587/0.1565, allocations: 193.2 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.1566, allocations: 89.14 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1568, allocations: 164 kB / 474.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1568, allocations: 33.64 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.1569, allocations: 96.14 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1569, allocations: 27.64 kB / 474.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.157, allocations: 21.72 kB / 474.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1571, allocations: 326.8 kB / 474.9 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/0.1572, allocations: 27.98 kB / 474.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.1573, allocations: 42.56 kB / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.1574, allocations: 69.7 kB / 475 MB, free: 8.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1575, allocations: 3.938 kB / 475 MB, free: 8.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002468/0.1577, allocations: 113.4 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1577, allocations: 4 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1578, allocations: 8 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1578, allocations: 4 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.1579, allocations: 19.98 kB / 475.1 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1579, allocations: 4 kB / 475.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.1579, allocations: 4 kB / 475.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.158, allocations: 4 kB / 475.2 MB, free: 7.988 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 (11): * Single equations (assignments): 11 * 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.0001068/0.1581, allocations: 121.8 kB / 475.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1581, allocations: 15.84 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.1582, allocations: 16.66 kB / 475.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1582, allocations: 4 kB / 475.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.1582, allocations: 4 kB / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1582, allocations: 0 / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.1587, allocations: 415.2 kB / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1587, allocations: 0 / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.1587, allocations: 12.09 kB / 475.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1588, allocations: 3.938 kB / 475.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1588, allocations: 0 / 475.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1588, allocations: 8.031 kB / 475.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1588, allocations: 3.938 kB / 475.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1591, allocations: 220.2 kB / 476 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.1591, allocations: 81.02 kB / 476 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1592, allocations: 4 kB / 476.1 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1592, allocations: 7.984 kB / 476.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.1593, allocations: 8 kB / 476.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1593, allocations: 4 kB / 476.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1594, allocations: 120.8 kB / 476.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1595, allocations: 0 / 476.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.1598, allocations: 39.89 kB / 476.2 MB, free: 6.812 MB / 350.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: 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 (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.001731/0.1615, allocations: 1.163 MB / 477.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1617, allocations: 71.84 kB / 477.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1617, allocations: 0 / 477.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.1619, allocations: 31.98 kB / 477.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1622, allocations: 27.98 kB / 477.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.1645, allocations: 1.621 MB / 479.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.165, allocations: 0.7077 MB / 479.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.1651, allocations: 24.88 kB / 479.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.1653, allocations: 35.42 kB / 479.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1653, allocations: 3.938 kB / 479.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1836, allocations: 3.552 MB / 483.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.1839, allocations: 238.8 kB / 483.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.07, allocations: 3.938 kB / 483.7 MB, free: 15.5 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches