Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.001203/0.001203, allocations: 105.5 kB / 15.98 MB, free: 5.859 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.00113/0.00113, allocations: 193.3 kB / 16.9 MB, free: 5.727 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.77/1.77, allocations: 205.1 MB / 222.8 MB, free: 4.668 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.4347/0.4347, allocations: 43.5 MB / 313.6 MB, free: 8.555 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.001421/0.001421, allocations: 70.56 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1466, allocations: 57.78 MB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.00353/0.1502, allocations: 1.749 MB / 441.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1515, allocations: 0.7846 MB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.1516, allocations: 4 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.152, allocations: 79.7 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.1523, allocations: 71.78 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1525, allocations: 79.84 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1527, allocations: 107.7 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1529, allocations: 20.2 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.34e-05/0.153, allocations: 51.77 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1531, allocations: 59.81 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.1531, allocations: 4 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1532, allocations: 43.86 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.1533, allocations: 23.92 kB / 443.2 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.1533, allocations: 35.73 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1536, allocations: 115.9 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1536, allocations: 0 / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1536, allocations: 0 / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1536, allocations: 0 / 443.3 MB, free: 11.37 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005805/0.1542, allocations: 418.9 kB / 443.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1542, allocations: 19.83 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.1543, allocations: 38.73 kB / 443.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.1544, allocations: 16.69 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1546, allocations: 204.8 kB / 444 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1546, allocations: 12.31 kB / 444 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.1547, allocations: 7.938 kB / 444 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1548, allocations: 49.67 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1548, allocations: 0 / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1549, allocations: 4 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1549, allocations: 4 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.155, allocations: 15.98 kB / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1554, allocations: 300.7 kB / 444.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1556, allocations: 58.67 kB / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.1556, allocations: 16.86 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1556, allocations: 0 / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.1559, allocations: 71.33 kB / 444.5 MB, free: 9.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1559, allocations: 4 kB / 444.5 MB, free: 9.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005838/0.1565, allocations: 173.2 kB / 444.7 MB, free: 9.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.1566, allocations: 51.41 kB / 444.8 MB, free: 9.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1568, allocations: 222.3 kB / 445 MB, free: 9.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1568, allocations: 29.7 kB / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.1569, allocations: 100.1 kB / 445.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1569, allocations: 23.66 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.157, allocations: 33.7 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1572, allocations: 322.8 kB / 445.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.1572, allocations: 20 kB / 445.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.1573, allocations: 33.7 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1574, allocations: 61.7 kB / 445.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1574, allocations: 4 kB / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001903/0.1576, allocations: 105.5 kB / 445.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1577, allocations: 7.984 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.1577, allocations: 4.375 kB / 445.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1577, allocations: 0 / 445.7 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.1578, allocations: 15.94 kB / 445.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1578, allocations: 4 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.1579, allocations: 7.938 kB / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1579, allocations: 12.17 kB / 445.8 MB, free: 8.699 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001142/0.158, allocations: 121.9 kB / 445.9 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.158, allocations: 15.84 kB / 445.9 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.1581, allocations: 17.39 kB / 445.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1581, allocations: 7.938 kB / 445.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1581, allocations: 0 / 445.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1581, allocations: 3.938 kB / 445.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.1586, allocations: 395.2 kB / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1586, allocations: 0 / 446.3 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.1587, allocations: 20.02 kB / 446.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1587, allocations: 7.922 kB / 446.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1587, allocations: 4 kB / 446.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1587, allocations: 3.938 kB / 446.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1587, allocations: 0 / 446.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.159, allocations: 192.3 kB / 446.5 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.159, allocations: 96.91 kB / 446.6 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1591, allocations: 7.938 kB / 446.6 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.1591, allocations: 4 kB / 446.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.1592, allocations: 4 kB / 446.6 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1592, allocations: 11.98 kB / 446.6 MB, free: 7.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1593, allocations: 156.2 kB / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1594, allocations: 0 / 446.8 MB, free: 7.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1596, allocations: 24 kB / 446.8 MB, free: 7.52 MB / 382.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 (8): * Single equations (assignments): 6 * 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.001604/0.1612, allocations: 1.105 MB / 447.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000188/0.1614, allocations: 63.91 kB / 448 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1614, allocations: 0 / 448 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.1615, allocations: 35.86 kB / 448 MB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1619, allocations: 31.83 kB / 448.1 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.1637, allocations: 1.706 MB / 449.8 MB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.164, allocations: 0.708 MB / 450.5 MB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.1641, allocations: 24.84 kB / 450.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.1641, allocations: 35.42 kB / 450.5 MB, free: 3.711 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1641, allocations: 4 kB / 450.5 MB, free: 3.707 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01456/0.1787, allocations: 3.301 MB / 453.8 MB, free: 396 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.1789, allocations: 233.2 kB / 454.1 MB, free: 136 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/1.947, allocations: 0 / 454.1 MB, free: 136 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches