Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001033, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009178/0.0009179, allocations: 86.2 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2164/0.2164, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.825e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5627, allocations: 86.79 MB / 0.5507 GB, free: 8.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.563, allocations: 73.62 kB / 0.5508 GB, free: 8.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01297/0.576, allocations: 5.477 MB / 0.5561 GB, free: 3.746 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.576, allocations: 0 / 0.5561 GB, free: 3.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.576, allocations: 8 kB / 0.5561 GB, free: 3.738 MB / 362.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.0004181/0.5765, allocations: 412.4 kB / 0.5565 GB, free: 3.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.5765, allocations: 12.03 kB / 0.5565 GB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.5766, allocations: 7.906 kB / 0.5565 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.5769, allocations: 229 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.577, allocations: 3.438 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.577, allocations: 4 kB / 0.5568 GB, free: 3.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.691e-05/0.5771, allocations: 15.42 kB / 0.5568 GB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.942e-05/0.5771, allocations: 45 kB / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5772, allocations: 0 / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5772, allocations: 0 / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5772, allocations: 0 / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.5774, allocations: 177.9 kB / 0.557 GB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.207e-05/0.5775, allocations: 45.88 kB / 0.557 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.5775, allocations: 19.3 kB / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.5776, allocations: 4 kB / 0.5571 GB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.5777, allocations: 62.11 kB / 0.5571 GB, free: 2.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.5777, allocations: 0 / 0.5571 GB, free: 2.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002235/0.5779, allocations: 83.5 kB / 0.5572 GB, free: 2.559 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.578, allocations: 51.41 kB / 0.5572 GB, free: 2.496 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.5782, allocations: 227.5 kB / 0.5575 GB, free: 2.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.5782, allocations: 29.64 kB / 0.5575 GB, free: 2.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.5783, allocations: 114.1 kB / 0.5576 GB, free: 2.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.5783, allocations: 15.23 kB / 0.5576 GB, free: 2.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.5783, allocations: 3.938 kB / 0.5576 GB, free: 2.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.5784, allocations: 330.1 kB / 0.5579 GB, free: 1.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.5784, allocations: 7.625 kB / 0.5579 GB, free: 1.824 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.5785, allocations: 28.66 kB / 0.558 GB, free: 1.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.284e-05/0.5785, allocations: 10.73 kB / 0.558 GB, free: 1.789 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5785, allocations: 8 kB / 0.558 GB, free: 1.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001082/0.5786, allocations: 79.8 kB / 0.5581 GB, free: 1.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5786, allocations: 4 kB / 0.5581 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5787, allocations: 0 / 0.5581 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.5787, allocations: 0 / 0.5581 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.5788, allocations: 15.98 kB / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5788, allocations: 0 / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.5788, allocations: 7.906 kB / 0.5581 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5788, allocations: 0 / 0.5581 GB, free: 1.68 MB / 362.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 6.872e-05/0.5789, allocations: 109 kB / 0.5582 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.579, allocations: 19.3 kB / 0.5582 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.5791, allocations: 105.2 kB / 0.5583 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.5791, allocations: 0 / 0.5583 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5791, allocations: 0 / 0.5583 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5791, allocations: 0 / 0.5583 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.5793, allocations: 184.2 kB / 0.5585 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5793, allocations: 0 / 0.5585 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.649e-05/0.5793, allocations: 4 kB / 0.5585 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5793, allocations: 3.984 kB / 0.5585 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5793, allocations: 11.95 kB / 0.5585 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5793, allocations: 0 / 0.5585 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5794, allocations: 0 / 0.5585 GB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.5795, allocations: 114.6 kB / 0.5586 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.5796, allocations: 96.31 kB / 0.5587 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.5796, allocations: 0 / 0.5587 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.5796, allocations: 7.953 kB / 0.5587 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.5797, allocations: 15.48 kB / 0.5587 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.5797, allocations: 0 / 0.5587 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.5798, allocations: 188.7 kB / 0.5589 GB, free: 0.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5799, allocations: 0 / 0.5589 GB, free: 0.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.5801, allocations: 27.88 kB / 0.5589 GB, free: 0.8086 MB / 362.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) * 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 (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.0007914/0.5809, allocations: 337.8 kB / 0.5593 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.581, allocations: 46.11 kB / 0.5593 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.581, allocations: 0 / 0.5593 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.5811, allocations: 18 kB / 0.5593 GB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5813, allocations: 18.55 kB / 0.5593 GB, free: 476 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.5817, allocations: 203.8 kB / 0.5595 GB, free: 268 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.582, allocations: 0.7146 MB / 0.5602 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.5821, allocations: 19.92 kB / 0.5602 GB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.5822, allocations: 15.44 kB / 0.5603 GB, free: 15.49 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5822, allocations: 3.938 kB / 0.5603 GB, free: 15.49 MB / 378.7 MB Notification: Performance of Templates: time 0.004605/0.5868, allocations: 1.534 MB / 0.5618 GB, free: 13.98 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches