Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.00115, allocations: 94.05 kB / 15.7 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 169.5 kB / 16.57 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.487/0.487, allocations: 43.57 MB / 314.6 MB, free: 8.996 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.0005551/0.0005552, allocations: 16 kB / 384 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1676, allocations: 58.87 MB / 442.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002257/0.1699, allocations: 1.359 MB / 444.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1712, allocations: 0.7267 MB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.372e-05/0.1713, allocations: 0 / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000385/0.1717, allocations: 51.86 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002183/0.172, allocations: 47.81 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1722, allocations: 71.84 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1725, allocations: 79.7 kB / 445.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.1726, allocations: 11.97 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1727, allocations: 43.8 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1728, allocations: 31.83 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1728, allocations: 0 / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.888e-05/0.1729, allocations: 28 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.173, allocations: 27.84 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.1731, allocations: 41.64 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1733, allocations: 92.03 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.1733, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1733, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1733, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 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.0006813/0.174, allocations: 418.7 kB / 445.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/0.1741, allocations: 12.03 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.1741, allocations: 11.81 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1745, allocations: 206.8 kB / 446.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.1745, allocations: 4 kB / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1745, allocations: 0 / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1747, allocations: 45.69 kB / 446.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1747, allocations: 11.97 kB / 446.1 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1748, allocations: 4 kB / 446.1 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1748, allocations: 3.953 kB / 446.1 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.1749, allocations: 12 kB / 446.1 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.1751, allocations: 185.7 kB / 446.3 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1753, allocations: 58.5 kB / 446.4 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.1754, allocations: 20.84 kB / 446.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.1754, allocations: 8 kB / 446.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.1757, allocations: 63.3 kB / 446.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.1757, allocations: 0 / 446.5 MB, free: 9.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003217/0.1761, allocations: 93.52 kB / 446.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.1761, allocations: 67.34 kB / 446.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.1765, allocations: 254.5 kB / 446.9 MB, free: 8.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1765, allocations: 33.7 kB / 446.9 MB, free: 8.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.1766, allocations: 108.1 kB / 447 MB, free: 8.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.1767, allocations: 11.81 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.1767, allocations: 4 kB / 447 MB, free: 8.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1769, allocations: 322.8 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.1769, allocations: 15.98 kB / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.177, allocations: 25.72 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.1771, allocations: 24.23 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1771, allocations: 0 / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.1772, allocations: 85.44 kB / 447.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1773, allocations: 8 kB / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1773, allocations: 0 / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1773, allocations: 0 / 447.5 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.1774, allocations: 11.98 kB / 447.5 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1774, allocations: 7.953 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.1775, allocations: 7.938 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1775, allocations: 11.97 kB / 447.5 MB, free: 8.285 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.1776, allocations: 137.8 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.1776, allocations: 11.81 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.1777, allocations: 20.98 kB / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1777, allocations: 0 / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1777, allocations: 0 / 447.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1777, allocations: 3.953 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1779, allocations: 193.6 kB / 447.9 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1779, allocations: 4 kB / 447.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.1779, allocations: 0 / 447.9 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.1779, allocations: 8 kB / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.178, allocations: 0 / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.178, allocations: 3.938 kB / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.178, allocations: 0 / 447.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1782, allocations: 112.9 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.1782, allocations: 92.94 kB / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1783, allocations: 4 kB / 448.1 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.1783, allocations: 8 kB / 448.1 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.1784, allocations: 4 kB / 448.1 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1784, allocations: 3.984 kB / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000183/0.1786, allocations: 200 kB / 448.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1786, allocations: 0 / 448.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.1788, allocations: 20 kB / 448.4 MB, free: 7.375 MB / 382.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001098/0.1799, allocations: 413.5 kB / 448.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.1801, allocations: 47.97 kB / 448.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1801, allocations: 0 / 448.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.1802, allocations: 19.94 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1805, allocations: 27.92 kB / 448.9 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.181, allocations: 277.8 kB / 449.1 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1814, allocations: 0.7082 MB / 449.8 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.1814, allocations: 16.78 kB / 449.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.1815, allocations: 15.44 kB / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1815, allocations: 0 / 449.9 MB, free: 5.852 MB / 382.1 MB Notification: Performance of Templates: time 0.004598/0.1861, allocations: 1.408 MB / 451.3 MB, free: 4.445 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches