Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 107.5 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.001753/0.001753, 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.556/1.556, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 80.28 kB / 417 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.153, allocations: 62.44 MB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003595/0.1566, allocations: 1.795 MB / 481.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1586, allocations: 1.013 MB / 482.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.1587, allocations: 0 / 482.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.1591, allocations: 83.81 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.1594, allocations: 103.6 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1597, allocations: 51.89 kB / 482.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1599, allocations: 115.7 kB / 482.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.16, allocations: 12 kB / 482.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.431e-05/0.1601, allocations: 51.72 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1602, allocations: 55.81 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1602, allocations: 0 / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1604, allocations: 47.97 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/0.1604, allocations: 19.92 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.559e-05/0.1605, allocations: 39.67 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.1607, allocations: 119.8 kB / 482.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1607, allocations: 4 kB / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1607, allocations: 0 / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1607, allocations: 0 / 482.9 MB, free: 2.07 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.0005849/0.1613, allocations: 422.9 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1614, allocations: 8.875 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.1614, allocations: 38.75 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1615, allocations: 16.73 kB / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1617, allocations: 208.5 kB / 483.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1617, allocations: 12.36 kB / 483.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1618, allocations: 7.938 kB / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1619, allocations: 57.61 kB / 483.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1619, allocations: 0 / 483.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.162, allocations: 4 kB / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.162, allocations: 0 / 483.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.687e-05/0.162, allocations: 15.98 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1624, allocations: 284.9 kB / 483.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1626, allocations: 66.61 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.1627, allocations: 20.86 kB / 484 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1627, allocations: 7.984 kB / 484 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.163, allocations: 67.38 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.163, allocations: 0 / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006182/0.1636, allocations: 189 kB / 484.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.1637, allocations: 51.41 kB / 484.3 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.1639, allocations: 223.4 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.164, allocations: 29.7 kB / 484.6 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.164, allocations: 112 kB / 484.7 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.1641, allocations: 27.64 kB / 484.7 MB, free: 24 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.1642, allocations: 21.72 kB / 484.7 MB, free: 16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1643, allocations: 330.8 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.1644, allocations: 15.98 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.035e-05/0.1645, allocations: 41.64 kB / 485.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1646, allocations: 57.7 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1646, allocations: 0 / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.1648, allocations: 109.4 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1649, allocations: 8.031 kB / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1649, allocations: 0 / 485.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1649, allocations: 4 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.165, allocations: 15.98 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.165, allocations: 160 / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.1651, allocations: 7.938 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1651, allocations: 3.984 kB / 485.3 MB, free: 15.39 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.0001363/0.1652, allocations: 137.8 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1652, allocations: 11.91 kB / 485.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.1653, allocations: 21.39 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1653, allocations: 4 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1653, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1653, allocations: 3.938 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.1658, allocations: 391.2 kB / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1658, allocations: 0 / 485.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.1658, allocations: 15.98 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.1659, allocations: 7.938 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1659, allocations: 4.031 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1659, allocations: 384 / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1659, allocations: 0 / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.1661, allocations: 208.2 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.1662, allocations: 88.92 kB / 486.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.1662, allocations: 11.92 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1663, allocations: 4 kB / 486.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1664, allocations: 4 kB / 486.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1664, allocations: 11.98 kB / 486.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1665, allocations: 161.2 kB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1665, allocations: 4.125 kB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1668, allocations: 24 kB / 486.4 MB, free: 14.19 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.001492/0.1683, allocations: 1.089 MB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.1685, allocations: 55.97 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1685, allocations: 0 / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.1686, allocations: 35.86 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.169, allocations: 32.28 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.171, allocations: 1.717 MB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1714, allocations: 0.7118 MB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.1714, allocations: 16.88 kB / 490.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.1715, allocations: 39.42 kB / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1715, allocations: 0 / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.1862, allocations: 3.302 MB / 493.4 MB, free: 7.309 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/0.1864, allocations: 236.6 kB / 493.6 MB, free: 7.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.055, allocations: 3.938 kB / 493.6 MB, free: 7.047 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches