Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001216, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001353/0.001353, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2624/0.2624, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 82.56 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1455, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003913/0.1495, allocations: 1.727 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1515, allocations: 1.021 MB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.1516, allocations: 4 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.152, allocations: 39.77 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.1524, allocations: 95.55 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1527, allocations: 79.66 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1529, allocations: 103.7 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.153, allocations: 15.97 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1531, allocations: 47.78 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.1532, allocations: 27.8 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1532, allocations: 4 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1533, allocations: 47.97 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.1534, allocations: 23.92 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.1535, allocations: 39.67 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1537, allocations: 111.9 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1538, allocations: 0 / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1538, allocations: 4 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1538, allocations: 0 / 483.5 MB, free: 1.789 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005614/0.1543, allocations: 414.9 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1544, allocations: 12.03 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.1544, allocations: 34.75 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.1545, allocations: 8.844 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1548, allocations: 220.6 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1549, allocations: 384 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1549, allocations: 11.94 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.155, allocations: 49.67 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1551, allocations: 7.906 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1551, allocations: 4 kB / 484.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1551, allocations: 4 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1552, allocations: 15.98 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.1558, allocations: 284.9 kB / 484.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1559, allocations: 58.61 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.156, allocations: 28.84 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.156, allocations: 0 / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.1563, allocations: 63.39 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.1563, allocations: 0 / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005726/0.1569, allocations: 181.2 kB / 484.9 MB, free: 244 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1569, allocations: 51.41 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.1572, allocations: 211 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.1572, allocations: 25.7 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/0.1573, allocations: 100.1 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.1573, allocations: 19.72 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.1574, allocations: 25.72 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1576, allocations: 330.8 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.1576, allocations: 16 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.046e-05/0.1577, allocations: 41.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1579, allocations: 54.08 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1579, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002253/0.1581, allocations: 105.4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1581, allocations: 4 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1581, allocations: 4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1582, allocations: 3.984 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.1582, allocations: 20.03 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1583, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.1583, allocations: 11.88 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.1583, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.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.0001074/0.1584, allocations: 129.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.1585, allocations: 7.906 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.1585, allocations: 21.52 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1585, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1586, allocations: 3.938 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.1586, allocations: 7.938 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.1591, allocations: 395.2 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1591, allocations: 0 / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.1591, allocations: 11.98 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1591, allocations: 7.922 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1591, allocations: 4 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1591, allocations: 4 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1592, allocations: 0 / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.1595, allocations: 204.2 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.1596, allocations: 88.92 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1596, allocations: 11.92 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1597, allocations: 4 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.1598, allocations: 0 / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.1598, allocations: 7.984 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.16, allocations: 147.2 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.16, allocations: 0 / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000413/0.1604, allocations: 27.98 kB / 487 MB, free: 13.99 MB / 366.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.002077/0.1625, allocations: 1.094 MB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.1628, allocations: 59.91 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1628, allocations: 0 / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1629, allocations: 40.09 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.1634, allocations: 35.17 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.1659, allocations: 1.642 MB / 489.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.1663, allocations: 0.7079 MB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.978e-05/0.1664, allocations: 17.17 kB / 490.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.1665, allocations: 35.42 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1665, allocations: 4 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.1912, allocations: 3.374 MB / 494 MB, free: 7.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.567, allocations: 11.81 kB / 494 MB, free: 7.078 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches