Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008993/0.0008993, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009789/0.0009789, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8632/0.8632, allocations: 177 MB / 204.1 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2401/0.2401, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] 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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 442.2 MB, free: 1.516 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.8e-05, allocations: 6.219 kB / 442.2 MB, free: 1.508 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.174/0.174, allocations: 1.663 MB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1751, allocations: 0.9583 MB / 444.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.1752, allocations: 6.656 kB / 444.9 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.1755, allocations: 51.3 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.1757, allocations: 104.1 kB / 445 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.1759, allocations: 77.41 kB / 445.1 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.176, allocations: 100.1 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.1761, allocations: 5.609 kB / 445.2 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.1761, allocations: 55.08 kB / 445.3 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.1762, allocations: 29.34 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1762, allocations: 4.312 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.1763, allocations: 34.19 kB / 445.3 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.1764, allocations: 22.05 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.1764, allocations: 28.61 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1765, allocations: 118.7 kB / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1766, allocations: 0 / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1766, allocations: 0 / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1766, allocations: 0 / 445.5 MB, free: 42.88 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003882/0.1769, allocations: 372.6 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.177, allocations: 8.5 kB / 445.9 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.455e-05/0.177, allocations: 37.03 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.177, allocations: 14.12 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1773, allocations: 161 kB / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1773, allocations: 4.672 kB / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.1773, allocations: 3.031 kB / 446.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1774, allocations: 54.23 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1774, allocations: 192 / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1774, allocations: 4.125 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1774, allocations: 0 / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.445e-05/0.1774, allocations: 20.5 kB / 446.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.1776, allocations: 157.8 kB / 446.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.1777, allocations: 58.59 kB / 446.4 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.1777, allocations: 16.58 kB / 446.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1777, allocations: 2.906 kB / 446.4 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.1778, allocations: 66.34 kB / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1778, allocations: 0 / 446.4 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001829/0.178, allocations: 112.5 kB / 446.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.178, allocations: 51.41 kB / 446.6 MB, free: 41.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1782, allocations: 273.9 kB / 446.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.1782, allocations: 25.7 kB / 446.9 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.1782, allocations: 119.2 kB / 447 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1782, allocations: 21.14 kB / 447 MB, free: 41.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.572e-05/0.1782, allocations: 18.53 kB / 447.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.195e-05/0.1783, allocations: 328.6 kB / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.1783, allocations: 14.09 kB / 447.4 MB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.1783, allocations: 35.89 kB / 447.4 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.562e-05/0.1784, allocations: 50.38 kB / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1784, allocations: 0 / 447.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.828e-05/0.1785, allocations: 90.44 kB / 447.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1785, allocations: 5.75 kB / 447.6 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1785, allocations: 6.75 kB / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1785, allocations: 0 / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.1786, allocations: 8.844 kB / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1786, allocations: 0.5625 kB / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.1786, allocations: 12.89 kB / 447.6 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1786, allocations: 3 kB / 447.6 MB, free: 41.32 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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 6.199e-05/0.1787, allocations: 131.2 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.1787, allocations: 13.78 kB / 447.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.1788, allocations: 112.8 kB / 447.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.1788, allocations: 0.8438 kB / 447.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1789, allocations: 0 / 447.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1789, allocations: 0 / 447.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.432e-05/0.1789, allocations: 170.8 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1789, allocations: 0 / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.1789, allocations: 8.734 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1789, allocations: 0 / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.179, allocations: 6.938 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.179, allocations: 0 / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.179, allocations: 1.5 kB / 448 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.156e-05/0.179, allocations: 122.4 kB / 448.2 MB, free: 40.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.1791, allocations: 17.89 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.1791, allocations: 10.75 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.1791, allocations: 0 / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.1791, allocations: 6.109 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.1791, allocations: 2.875 kB / 448.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.72e-05/0.1792, allocations: 209.3 kB / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1792, allocations: 0 / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.1794, allocations: 22.81 kB / 448.4 MB, free: 40.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008314/0.1802, allocations: 0.9795 MB / 449.4 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.1803, allocations: 45.83 kB / 449.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1803, allocations: 0 / 449.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.1804, allocations: 21.88 kB / 449.5 MB, free: 40.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.1805, allocations: 25.27 kB / 449.5 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009904/0.1815, allocations: 1.697 MB / 451.2 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.151e-05/0.1816, allocations: 112.6 kB / 451.3 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.1816, allocations: 8.844 kB / 451.3 MB, free: 38.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.1817, allocations: 44.91 kB / 451.3 MB, free: 38.68 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1817, allocations: 0 / 451.3 MB, free: 38.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.1969, allocations: 4.309 MB / 455.7 MB, free: 37.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.845, allocations: 2.906 kB / 455.7 MB, free: 37.26 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.727896360680461]