Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 103 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 76.06 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1608, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004368/0.1652, allocations: 1.789 MB / 481.4 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.1674, allocations: 1.016 MB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1676, allocations: 4 kB / 482.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003941/0.168, allocations: 39.83 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.1685, allocations: 79.75 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1688, allocations: 63.88 kB / 482.6 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1691, allocations: 107.6 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1692, allocations: 11.98 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1694, allocations: 39.8 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1695, allocations: 39.78 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.1695, allocations: 4 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1697, allocations: 43.98 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-05/0.1697, allocations: 23.86 kB / 482.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.1698, allocations: 43.72 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1701, allocations: 115.9 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1701, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1701, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1701, allocations: 0 / 483 MB, free: 2.094 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.0006645/0.1708, allocations: 414.9 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1709, allocations: 12.03 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.1709, allocations: 38.75 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.171, allocations: 8.844 kB / 483.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.1713, allocations: 218.5 kB / 483.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1713, allocations: 8.375 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1713, allocations: 3.938 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.1715, allocations: 53.67 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1716, allocations: 3.906 kB / 483.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1716, allocations: 3.984 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1716, allocations: 4 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.922e-05/0.1717, allocations: 15.98 kB / 483.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.1722, allocations: 288.9 kB / 484.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.1724, allocations: 58.62 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.1725, allocations: 20.84 kB / 484.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.1726, allocations: 3.984 kB / 484.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002938/0.1729, allocations: 71.39 kB / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.1729, allocations: 0 / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007074/0.1736, allocations: 169.2 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.1737, allocations: 51.41 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1739, allocations: 206.7 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1739, allocations: 25.7 kB / 484.7 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.174, allocations: 104.1 kB / 484.8 MB, free: 140 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.1741, allocations: 19.72 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.1741, allocations: 33.64 kB / 484.8 MB, free: 80 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.1743, allocations: 322.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/0.1744, allocations: 19.98 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/0.1745, allocations: 37.7 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1746, allocations: 53.72 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1746, allocations: 0 / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.1748, allocations: 113.4 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1748, allocations: 6.969 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1748, allocations: 0 / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1749, allocations: 4 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.175, allocations: 12.38 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.175, allocations: 8.078 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.175, allocations: 7.938 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1751, allocations: 11.98 kB / 485.4 MB, free: 15.47 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.0001245/0.1752, allocations: 133.8 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1752, allocations: 11.89 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.1753, allocations: 13.41 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1753, allocations: 4 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.1753, allocations: 0 / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1753, allocations: 3.938 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000588/0.1759, allocations: 399.2 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1759, allocations: 0 / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.176, allocations: 16.03 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.176, allocations: 3.938 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.176, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.176, allocations: 4 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.176, allocations: 0 / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.1763, allocations: 200.2 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.1763, allocations: 92.91 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1766, allocations: 7.938 kB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.1767, allocations: 4 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.1768, allocations: 7.984 kB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1768, allocations: 4.188 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1769, allocations: 152.7 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1769, allocations: 3.938 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1772, allocations: 20 kB / 486.4 MB, free: 14.3 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.001788/0.179, allocations: 1.085 MB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002723/0.1793, allocations: 63.84 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.1794, allocations: 8 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.1794, allocations: 23.98 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.1799, allocations: 36.53 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1828, allocations: 1.667 MB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1832, allocations: 0.7119 MB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.1833, allocations: 12.89 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.637e-05/0.1834, allocations: 35.42 kB / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 1.984e-06/0.1835, allocations: 0 / 490.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.2035, allocations: 3.281 MB / 493.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.2037, allocations: 234.2 kB / 493.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.167, allocations: 3.938 kB / 493.6 MB, free: 7.254 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches