Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 113.5 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.244/0.244, allocations: 44.18 MB / 336.3 MB, free: 2.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 63.75 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1558, allocations: 60.83 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004598/0.1605, allocations: 1.776 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.1621, allocations: 0.8653 MB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.1622, allocations: 0 / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1625, allocations: 87.81 kB / 471.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1628, allocations: 67.8 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.1631, allocations: 103.7 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.1633, allocations: 111.7 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1635, allocations: 23.97 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.1636, allocations: 55.77 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1637, allocations: 71.69 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1637, allocations: 4 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1638, allocations: 55.98 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.1639, allocations: 35.83 kB / 472.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.164, allocations: 31.75 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1642, allocations: 143.8 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1642, allocations: 0 / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1642, allocations: 0 / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1642, allocations: 0 / 472.2 MB, free: 11.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005578/0.1648, allocations: 418.9 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1648, allocations: 15.97 kB / 472.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1649, allocations: 38.73 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.1649, allocations: 16.69 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1652, allocations: 224.5 kB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1652, allocations: 4.375 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1652, allocations: 7.938 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1654, allocations: 57.67 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1654, allocations: 3.906 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1654, allocations: 0 / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1654, allocations: 0 / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.1655, allocations: 27.92 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.1659, allocations: 300.8 kB / 473.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.1661, allocations: 62.55 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.1662, allocations: 24.97 kB / 473.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1662, allocations: 4 kB / 473.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.1665, allocations: 67.33 kB / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1665, allocations: 0 / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007487/0.1672, allocations: 237.8 kB / 473.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1673, allocations: 55.34 kB / 473.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1675, allocations: 226.6 kB / 474 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1675, allocations: 33.7 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.08e-05/0.1676, allocations: 116 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.1677, allocations: 27.56 kB / 474.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.1677, allocations: 37.64 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1678, allocations: 330.8 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.849e-05/0.1679, allocations: 23.98 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-05/0.168, allocations: 45.7 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.1682, allocations: 81.64 kB / 474.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1682, allocations: 0 / 474.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002038/0.1684, allocations: 137.4 kB / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1684, allocations: 4 kB / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1684, allocations: 0 / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1684, allocations: 4 kB / 474.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.1685, allocations: 23.92 kB / 474.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1685, allocations: 8 kB / 474.9 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.1686, allocations: 7.938 kB / 474.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1686, allocations: 4 kB / 474.9 MB, free: 8.324 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001133/0.1687, allocations: 133.8 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1687, allocations: 19.84 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.1688, allocations: 21.39 kB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.1688, allocations: 7.938 kB / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1688, allocations: 0 / 475 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1688, allocations: 3.984 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.1694, allocations: 444 kB / 475.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1694, allocations: 8.062 kB / 475.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.1694, allocations: 19.98 kB / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1695, allocations: 0 / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.1695, allocations: 0 / 475.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1695, allocations: 4 kB / 475.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1695, allocations: 0 / 475.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.1698, allocations: 240.9 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.1699, allocations: 85.02 kB / 475.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1699, allocations: 8 kB / 475.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.17, allocations: 0 / 475.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.17, allocations: 11.98 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.1701, allocations: 8 kB / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.1703, allocations: 168.3 kB / 476 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1703, allocations: 0 / 476 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1706, allocations: 28 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002/0.1726, allocations: 1.18 MB / 477.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.1728, allocations: 79.91 kB / 477.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1728, allocations: 0 / 477.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.1729, allocations: 43.86 kB / 477.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1733, allocations: 45.59 kB / 477.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.1755, allocations: 1.831 MB / 479.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.1759, allocations: 0.7194 MB / 479.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.373e-05/0.176, allocations: 20.62 kB / 480 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.1761, allocations: 43.42 kB / 480 MB, free: 3.129 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1761, allocations: 0 / 480 MB, free: 3.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.1911, allocations: 3.67 MB / 483.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.1913, allocations: 249 kB / 483.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/2.053, allocations: 4 kB / 483.9 MB, free: 15.29 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches