Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001369/0.001369, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001494/0.001494, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2245/0.2245, allocations: 46.12 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 71.52 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1515, allocations: 62.46 MB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.004298/0.1558, allocations: 1.773 MB / 481.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1579, allocations: 1.025 MB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.158, allocations: 3.938 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.1584, allocations: 31.83 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.1588, allocations: 79.73 kB / 482.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.1592, allocations: 59.89 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.1594, allocations: 99.73 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1595, allocations: 15.94 kB / 482.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1597, allocations: 35.8 kB / 482.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1598, allocations: 35.77 kB / 482.6 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1598, allocations: 4 kB / 482.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.16, allocations: 47.92 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.16, allocations: 15.92 kB / 482.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.711e-05/0.1601, allocations: 39.67 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1604, allocations: 111.9 kB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1604, allocations: 4 kB / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1604, allocations: 0 / 482.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1604, allocations: 4 kB / 482.8 MB, free: 2.191 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.0006247/0.1611, allocations: 418.9 kB / 483.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1611, allocations: 12.88 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.1612, allocations: 38.73 kB / 483.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1612, allocations: 8.844 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1615, allocations: 206.7 kB / 483.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1615, allocations: 384 / 483.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1616, allocations: 15.88 kB / 483.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1617, allocations: 57.67 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1618, allocations: 3.906 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1618, allocations: 0 / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1618, allocations: 4 kB / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.1619, allocations: 15.98 kB / 483.5 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.1623, allocations: 288.9 kB / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1625, allocations: 62.61 kB / 483.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.1626, allocations: 20.86 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1626, allocations: 0 / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.1629, allocations: 63.39 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1629, allocations: 0 / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00062/0.1635, allocations: 177.2 kB / 484.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.1636, allocations: 55.41 kB / 484.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1638, allocations: 202.7 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1639, allocations: 25.7 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.1639, allocations: 100.1 kB / 484.5 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.164, allocations: 23.7 kB / 484.5 MB, free: 224 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.164, allocations: 25.72 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1642, allocations: 322.8 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.1643, allocations: 27.92 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.1643, allocations: 37.7 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1645, allocations: 49.8 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1645, allocations: 192 / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002118/0.1647, allocations: 121.3 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1647, allocations: 7.938 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1647, allocations: 0 / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1648, allocations: 8.016 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.1649, allocations: 19.98 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1649, allocations: 0 / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.1649, allocations: 7.938 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.165, allocations: 0 / 485.2 MB, free: 15.57 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.0001226/0.1651, allocations: 136.9 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1651, allocations: 7.906 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.1652, allocations: 13.41 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1652, allocations: 4 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1652, allocations: 4 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1652, allocations: 7.922 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.1657, allocations: 395.2 kB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1657, allocations: 0 / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/0.1657, allocations: 8 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.1657, allocations: 3.938 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1658, allocations: 4 kB / 485.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.1658, allocations: 8.016 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1658, allocations: 4 kB / 485.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.166, allocations: 196.2 kB / 485.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.1661, allocations: 88.92 kB / 486 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.1661, allocations: 7.938 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.1662, allocations: 4 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1663, allocations: 8.359 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1663, allocations: 4 kB / 486 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1664, allocations: 152.7 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1664, allocations: 0 / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1667, allocations: 28 kB / 486.2 MB, free: 14.4 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.001715/0.1684, allocations: 1.098 MB / 487.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1687, allocations: 51.97 kB / 487.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1687, allocations: 4.062 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.1688, allocations: 35.92 kB / 487.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.1691, allocations: 23.97 kB / 487.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.1711, allocations: 1.667 MB / 489.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.1714, allocations: 0.7043 MB / 489.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.622e-05/0.1715, allocations: 20.88 kB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.1715, allocations: 35.42 kB / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1715, allocations: 0 / 489.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.1865, allocations: 3.197 MB / 493.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.1867, allocations: 237.1 kB / 493.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.097, allocations: 0 / 493.3 MB, free: 7.43 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches