Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000927/0.000927, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.204/0.204, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003396, allocations: 11.98 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1491, allocations: 63.55 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002398/0.1515, allocations: 1.446 MB / 484.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.1541, allocations: 1.579 MB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1542, allocations: 0 / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.1546, allocations: 43.83 kB / 486.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.1549, allocations: 75.75 kB / 486.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1552, allocations: 63.88 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1554, allocations: 99.62 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1555, allocations: 8 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1556, allocations: 43.78 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1558, allocations: 47.77 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1558, allocations: 4 kB / 486.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.1561, allocations: 99.88 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.896e-05/0.1562, allocations: 15.92 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1563, allocations: 65.48 kB / 486.8 MB, free: 460 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.1568, allocations: 167.8 kB / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1568, allocations: 0 / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1568, allocations: 0 / 486.9 MB, free: 292 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.1569, allocations: 0 / 486.9 MB, free: 292 kB / 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.0008663/0.1577, allocations: 419.1 kB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.1578, allocations: 8.875 kB / 487.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.201e-05/0.1579, allocations: 34.75 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.1579, allocations: 12.84 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.1583, allocations: 208.4 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1583, allocations: 7.938 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.1584, allocations: 0 / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1586, allocations: 67.39 kB / 487.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.1586, allocations: 7.984 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.1586, allocations: 4 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1587, allocations: 3.984 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1588, allocations: 16 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.1594, allocations: 288.9 kB / 488 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1596, allocations: 66.61 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.1596, allocations: 16.86 kB / 488.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.1597, allocations: 0 / 488.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.1599, allocations: 67.39 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.16, allocations: 0 / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006839/0.1606, allocations: 177.1 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.1607, allocations: 85.05 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1609, allocations: 166.5 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1609, allocations: 25.7 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.161, allocations: 104.1 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.1611, allocations: 27.64 kB / 488.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1611, allocations: 13.72 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1612, allocations: 318.8 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.1613, allocations: 20 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.1614, allocations: 46.56 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1615, allocations: 65.62 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1615, allocations: 0 / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.1617, allocations: 101.6 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1617, allocations: 10.5 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1618, allocations: 0 / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1618, allocations: 0 / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.1619, allocations: 23.94 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1619, allocations: 4 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.162, allocations: 8.172 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.162, allocations: 4 kB / 489.3 MB, free: 13.65 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.0001042/0.1621, allocations: 121.8 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1621, allocations: 11.81 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.1622, allocations: 16.7 kB / 489.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1622, allocations: 3.938 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1622, allocations: 4 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1622, allocations: 4 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.1627, allocations: 395.3 kB / 489.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1627, allocations: 3.938 kB / 489.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1627, allocations: 8 kB / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1627, allocations: 0 / 489.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1627, allocations: 7.984 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1627, allocations: 0 / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1628, allocations: 4.031 kB / 489.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.163, allocations: 200.2 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.1631, allocations: 96.84 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1631, allocations: 4 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.1632, allocations: 4 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1632, allocations: 7.984 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1632, allocations: 8 kB / 490.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1634, allocations: 126.5 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1634, allocations: 0 / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000304/0.1637, allocations: 47.98 kB / 490.4 MB, free: 12.49 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.001718/0.1654, allocations: 1.176 MB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1656, allocations: 59.91 kB / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1656, allocations: 0 / 491.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.1657, allocations: 24 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.166, allocations: 36.03 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1678, allocations: 1.604 MB / 493.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1681, allocations: 0.7015 MB / 494 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.746e-05/0.1682, allocations: 29.09 kB / 494 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.1683, allocations: 31.42 kB / 494 MB, free: 8.867 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1683, allocations: 3.938 kB / 494 MB, free: 8.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.1852, allocations: 3.557 MB / 497.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.1855, allocations: 235.9 kB / 497.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.019, allocations: 0 / 497.8 MB, free: 5.195 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches