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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, 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.716/1.716, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.001101/0.001101, allocations: 90.14 kB / 261.7 MB, free: 1.688 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.2943/0.2943, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.813e-05, allocations: 7.984 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1317, allocations: 58.87 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.5869, allocations: 86.79 MB / 0.5507 GB, free: 8.184 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.5872, allocations: 80.48 kB / 0.5508 GB, free: 8.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.6, allocations: 5.478 MB / 0.5561 GB, free: 3.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6001, allocations: 0 / 0.5561 GB, free: 3.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.6001, allocations: 4 kB / 0.5561 GB, free: 3.758 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.0004151/0.6005, allocations: 411.4 kB / 0.5565 GB, free: 3.324 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6006, allocations: 15.97 kB / 0.5565 GB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.6007, allocations: 7.906 kB / 0.5566 GB, free: 3.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.601, allocations: 228.8 kB / 0.5568 GB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.601, allocations: 3.984 kB / 0.5568 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.601, allocations: 8 kB / 0.5568 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.199e-05/0.6011, allocations: 15 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.6012, allocations: 45.05 kB / 0.5568 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6012, allocations: 0 / 0.5568 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.6012, allocations: 0 / 0.5568 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6012, allocations: 0 / 0.5568 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.6014, allocations: 174.9 kB / 0.557 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.607e-05/0.6015, allocations: 48.5 kB / 0.5571 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.068e-05/0.6016, allocations: 20.3 kB / 0.5571 GB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.6016, allocations: 3.938 kB / 0.5571 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.6017, allocations: 62.61 kB / 0.5571 GB, free: 2.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.6017, allocations: 0 / 0.5571 GB, free: 2.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002057/0.602, allocations: 79.69 kB / 0.5572 GB, free: 2.574 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.602, allocations: 55.34 kB / 0.5573 GB, free: 2.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.6022, allocations: 232.3 kB / 0.5575 GB, free: 2.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.6022, allocations: 25.7 kB / 0.5575 GB, free: 2.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.6022, allocations: 113.1 kB / 0.5576 GB, free: 2.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.6023, allocations: 11.8 kB / 0.5576 GB, free: 2.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.6023, allocations: 3.938 kB / 0.5576 GB, free: 2.168 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.6024, allocations: 329.1 kB / 0.5579 GB, free: 1.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.6024, allocations: 10.88 kB / 0.558 GB, free: 1.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.6025, allocations: 25.22 kB / 0.558 GB, free: 1.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.6025, allocations: 18.86 kB / 0.558 GB, free: 1.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6025, allocations: 4 kB / 0.558 GB, free: 1.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001033/0.6026, allocations: 76.48 kB / 0.5581 GB, free: 1.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6026, allocations: 4 kB / 0.5581 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6026, allocations: 0 / 0.5581 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6027, allocations: 0 / 0.5581 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.6027, allocations: 19.36 kB / 0.5581 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6028, allocations: 0 / 0.5581 GB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.6028, allocations: 7.906 kB / 0.5581 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.6028, allocations: 4.031 kB / 0.5581 GB, free: 1.691 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.008e-05/0.6029, allocations: 105 kB / 0.5582 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.6029, allocations: 15.98 kB / 0.5582 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.6031, allocations: 105.1 kB / 0.5583 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.6031, allocations: 0 / 0.5583 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6031, allocations: 0 / 0.5583 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.6031, allocations: 0 / 0.5583 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.6032, allocations: 191 kB / 0.5585 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6033, allocations: 0 / 0.5585 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.6033, allocations: 8 kB / 0.5585 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6033, allocations: 0 / 0.5585 GB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.6033, allocations: 7.953 kB / 0.5585 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6033, allocations: 0 / 0.5585 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6033, allocations: 0 / 0.5585 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.6035, allocations: 110.4 kB / 0.5586 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.6035, allocations: 99.75 kB / 0.5587 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.6035, allocations: 0 / 0.5587 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-05/0.6036, allocations: 11.95 kB / 0.5587 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.6036, allocations: 7.984 kB / 0.5587 GB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.6037, allocations: 0 / 0.5587 GB, free: 1.004 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.6038, allocations: 196.9 kB / 0.5589 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6038, allocations: 0 / 0.5589 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.604, allocations: 23.94 kB / 0.559 GB, free: 0.8242 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.0007386/0.6047, allocations: 344.9 kB / 0.5593 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.6049, allocations: 40.73 kB / 0.5593 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6049, allocations: 0 / 0.5593 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.6049, allocations: 17.94 kB / 0.5593 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.6052, allocations: 23.11 kB / 0.5594 GB, free: 488 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.6055, allocations: 202.5 kB / 0.5596 GB, free: 284 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.6058, allocations: 0.7158 MB / 0.5603 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.6059, allocations: 20.3 kB / 0.5603 GB, free: 15.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.6059, allocations: 15.44 kB / 0.5603 GB, free: 15.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6059, allocations: 0 / 0.5603 GB, free: 15.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004438/0.6104, allocations: 1.538 MB / 0.5618 GB, free: 13.99 MB / 378.7 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