Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002178, allocations: 213.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.517/1.517, 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.2199/0.2199, allocations: 46.11 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 76.41 kB / 416.9 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.166, allocations: 62.45 MB / 479.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003718/0.1697, allocations: 1.789 MB / 481.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.1717, allocations: 1.021 MB / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1718, allocations: 0 / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.1722, allocations: 47.7 kB / 482.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1725, allocations: 91.72 kB / 482.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1728, allocations: 67.81 kB / 482.4 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.173, allocations: 95.75 kB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1732, allocations: 4 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1733, allocations: 51.77 kB / 482.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.1734, allocations: 39.78 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1734, allocations: 7.938 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1736, allocations: 39.98 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.1736, allocations: 27.91 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.562e-05/0.1737, allocations: 43.62 kB / 482.7 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.174, allocations: 127.8 kB / 482.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.174, allocations: 0 / 482.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.174, allocations: 4 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.174, allocations: 0 / 482.8 MB, free: 2.141 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.0006565/0.1747, allocations: 446.7 kB / 483.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1747, allocations: 12.81 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1748, allocations: 34.75 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.1749, allocations: 12.75 kB / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1751, allocations: 221 kB / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1751, allocations: 384 / 483.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1752, allocations: 11.88 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1754, allocations: 53.67 kB / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1754, allocations: 0 / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1754, allocations: 0 / 483.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1754, allocations: 4 kB / 483.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.51e-05/0.1755, allocations: 23.92 kB / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1759, allocations: 296.9 kB / 483.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1761, allocations: 62.66 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.1762, allocations: 20.86 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1762, allocations: 7.969 kB / 484 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.1764, allocations: 67.33 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1765, allocations: 4 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000599/0.1771, allocations: 177 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.1771, allocations: 63.39 kB / 484.3 MB, free: 472 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1774, allocations: 270.9 kB / 484.6 MB, free: 188 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1774, allocations: 29.7 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.1775, allocations: 112.1 kB / 484.7 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1775, allocations: 23.66 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.1776, allocations: 25.7 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1777, allocations: 326.8 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.1778, allocations: 23.98 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.1779, allocations: 37.64 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.178, allocations: 57.66 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.178, allocations: 4.375 kB / 485.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.1782, allocations: 109.5 kB / 485.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1783, allocations: 8 kB / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1783, allocations: 0 / 485.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1783, allocations: 7.938 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.966e-05/0.1784, allocations: 15.98 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1784, allocations: 8.031 kB / 485.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.1784, allocations: 3.938 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1785, allocations: 4 kB / 485.4 MB, free: 15.36 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.0001184/0.1786, allocations: 133.8 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.1786, allocations: 15.81 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.1787, allocations: 25.39 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1787, allocations: 0 / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1787, allocations: 3.938 kB / 485.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1787, allocations: 3.938 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.1792, allocations: 411.2 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1792, allocations: 4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.1792, allocations: 7.938 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1792, allocations: 7.938 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1793, allocations: 3.984 kB / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1793, allocations: 0 / 486 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1793, allocations: 4 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.1795, allocations: 204.2 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.1796, allocations: 85.02 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1796, allocations: 3.938 kB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1797, allocations: 7.984 kB / 486.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1798, allocations: 8 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1798, allocations: 4 kB / 486.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.18, allocations: 208.4 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.502e-06/0.18, allocations: 0 / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1803, allocations: 31.94 kB / 486.5 MB, free: 14.11 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.001529/0.1818, allocations: 1.087 MB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.182, allocations: 67.89 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.182, allocations: 0 / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.1821, allocations: 31.92 kB / 487.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1824, allocations: 24.11 kB / 487.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1847, allocations: 1.854 MB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1851, allocations: 0.7199 MB / 490.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.567e-05/0.1851, allocations: 12.89 kB / 490.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.1852, allocations: 51.41 kB / 490.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1852, allocations: 0 / 490.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.1995, allocations: 3.522 MB / 493.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.1997, allocations: 235.5 kB / 494.1 MB, free: 6.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.151, allocations: 0 / 494.1 MB, free: 6.594 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches