Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.00109, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 79.12 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1567, allocations: 62.44 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003809/0.1606, allocations: 1.801 MB / 481.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1624, allocations: 1.01 MB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1625, allocations: 4 kB / 482.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.1629, allocations: 51.81 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.1633, allocations: 79.73 kB / 482.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1636, allocations: 71.8 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1638, allocations: 103.6 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1639, allocations: 16 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.164, allocations: 43.77 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.825e-05/0.1641, allocations: 35.8 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1641, allocations: 0 / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1643, allocations: 43.92 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.1643, allocations: 27.91 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.1644, allocations: 43.67 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.1647, allocations: 139.8 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1647, allocations: 0 / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1647, allocations: 4 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1647, allocations: 0 / 482.9 MB, free: 2.168 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.0006007/0.1653, allocations: 434.7 kB / 483.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1654, allocations: 8.875 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.1654, allocations: 42.67 kB / 483.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.1655, allocations: 12.75 kB / 483.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.1657, allocations: 221 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1658, allocations: 4.375 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1658, allocations: 7.938 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.166, allocations: 53.67 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.166, allocations: 0 / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.166, allocations: 0 / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.166, allocations: 4 kB / 483.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.1661, allocations: 23.92 kB / 483.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1665, allocations: 300.9 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1667, allocations: 54.69 kB / 484 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.1667, allocations: 20.84 kB / 484 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1668, allocations: 3.938 kB / 484 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.167, allocations: 71.33 kB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.167, allocations: 0 / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006007/0.1676, allocations: 197 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1677, allocations: 51.41 kB / 484.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.1679, allocations: 270.9 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.1679, allocations: 25.7 kB / 484.6 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.168, allocations: 112.1 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1681, allocations: 27.64 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.1681, allocations: 25.72 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1682, allocations: 326.8 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.1683, allocations: 24 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.1684, allocations: 37.64 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1685, allocations: 65.64 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1685, allocations: 0 / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.1687, allocations: 109.5 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1687, allocations: 4 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1688, allocations: 4.031 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1688, allocations: 0 / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.1689, allocations: 19.94 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1689, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.1689, allocations: 11.92 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.169, allocations: 4 kB / 485.4 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.000113/0.1691, allocations: 133.8 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.1691, allocations: 15.81 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/0.1692, allocations: 21.41 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1692, allocations: 0 / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1692, allocations: 0 / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1692, allocations: 7.922 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.1696, allocations: 415.4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1697, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1697, allocations: 11.94 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1697, allocations: 3.938 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1697, allocations: 4.031 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1697, allocations: 4 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1697, allocations: 0 / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.17, allocations: 204.1 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.17, allocations: 89 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1701, allocations: 7.938 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.1701, allocations: 4.375 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.1702, allocations: 11.98 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1702, allocations: 8 kB / 486.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001667/0.1704, allocations: 200.4 kB / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1704, allocations: 4 kB / 486.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1707, allocations: 27.98 kB / 486.5 MB, free: 14.14 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.001488/0.1722, allocations: 1.086 MB / 487.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1724, allocations: 63.91 kB / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1724, allocations: 0 / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.1725, allocations: 31.92 kB / 487.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1728, allocations: 31.92 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1748, allocations: 1.844 MB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1752, allocations: 0.7199 MB / 490.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.371e-05/0.1753, allocations: 16.86 kB / 490.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.1754, allocations: 43.42 kB / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1754, allocations: 0 / 490.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1908, allocations: 3.544 MB / 493.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.191, allocations: 240.5 kB / 494.1 MB, free: 6.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.106, allocations: 3.938 kB / 494.1 MB, free: 6.621 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches