Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 104.5 kB / 16.27 MB, free: 6.047 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.001638/0.001638, allocations: 193.7 kB / 17.2 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2614/0.2614, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 76.19 kB / 382.7 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1624, allocations: 57.78 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004263/0.1667, allocations: 1.841 MB / 442.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1683, allocations: 0.8974 MB / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.1684, allocations: 0 / 443.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.169, allocations: 255.4 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.1694, allocations: 183.4 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.1698, allocations: 147.4 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.1702, allocations: 243.4 kB / 444.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1703, allocations: 13.78 kB / 444.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.1705, allocations: 131.5 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1708, allocations: 179.5 kB / 444.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1708, allocations: 4 kB / 444.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.171, allocations: 51.92 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.1711, allocations: 59.77 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-05/0.1712, allocations: 83.36 kB / 444.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1715, allocations: 227.1 kB / 444.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1715, allocations: 0 / 444.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1715, allocations: 0 / 444.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1715, allocations: 0 / 444.8 MB, free: 2.594 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007368/0.1722, allocations: 0.5563 MB / 445.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1723, allocations: 11.89 kB / 445.4 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.1724, allocations: 28.56 kB / 445.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.1728, allocations: 292 kB / 445.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.1728, allocations: 384 / 445.7 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.1729, allocations: 12.12 kB / 445.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.1731, allocations: 103.3 kB / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1732, allocations: 0 / 445.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1732, allocations: 4 kB / 445.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1732, allocations: 4 kB / 445.8 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1733, allocations: 35.97 kB / 445.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005293/0.1739, allocations: 460.8 kB / 446.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.1741, allocations: 125.2 kB / 446.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.1742, allocations: 41.7 kB / 446.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1743, allocations: 0 / 446.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003129/0.1746, allocations: 109.1 kB / 446.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.1746, allocations: 0 / 446.6 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008844/0.1755, allocations: 379.7 kB / 446.9 MB, free: 268 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1755, allocations: 89.05 kB / 447 MB, free: 160 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006458/0.1762, allocations: 477.7 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.1763, allocations: 29.7 kB / 447.5 MB, free: 15.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.1765, allocations: 168.3 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.953e-05/0.1765, allocations: 51.38 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.92e-05/0.1766, allocations: 29.72 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.1768, allocations: 350.7 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.177, allocations: 47.88 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1771, allocations: 68.61 kB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1773, allocations: 123.3 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1773, allocations: 0 / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003995/0.1777, allocations: 193.3 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1777, allocations: 4 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1778, allocations: 64 / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.1778, allocations: 8 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1779, allocations: 35.91 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.178, allocations: 7.938 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.178, allocations: 8 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1781, allocations: 4 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001611/0.1782, allocations: 165.8 kB / 448.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.1783, allocations: 31.62 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-05/0.1784, allocations: 42.8 kB / 448.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1784, allocations: 8.75 kB / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.1784, allocations: 7.875 kB / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1784, allocations: 0 / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/0.1793, allocations: 0.6165 MB / 449.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1793, allocations: 4 kB / 449.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.1794, allocations: 23.98 kB / 449.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1794, allocations: 8 kB / 449.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1794, allocations: 8 kB / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1794, allocations: 0 / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1794, allocations: 0 / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.18, allocations: 379.5 kB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.1801, allocations: 100.7 kB / 450 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.1801, allocations: 7.984 kB / 450 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1803, allocations: 7.984 kB / 450 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/0.1803, allocations: 19.92 kB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.1804, allocations: 8 kB / 450 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005773/0.181, allocations: 359.1 kB / 450.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.181, allocations: 0 / 450.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.1813, allocations: 43.98 kB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001254/0.1826, allocations: 469.6 kB / 450.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003784/0.183, allocations: 123.9 kB / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.183, allocations: 0 / 451 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1832, allocations: 56.38 kB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.1838, allocations: 63.52 kB / 451.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.185, allocations: 0.5343 MB / 451.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.1854, allocations: 0.7749 MB / 452.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1855, allocations: 25.94 kB / 452.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.1856, allocations: 27.42 kB / 452.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1856, allocations: 4 kB / 452.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of Templates: time 0.007821/0.1934, allocations: 2.751 MB / 455.2 MB, free: 7.824 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches