Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002181/0.002182, allocations: 180.1 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 93.36 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2884/0.2884, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.119e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4236, allocations: 58.86 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5857, allocations: 86.8 MB / 0.5507 GB, free: 12.5 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5861, allocations: 75.95 kB / 0.5508 GB, free: 12.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02373/0.6098, allocations: 5.485 MB / 0.5561 GB, free: 6.945 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.6099, allocations: 0 / 0.5561 GB, free: 6.945 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.6099, allocations: 0.5469 kB / 0.5561 GB, free: 6.945 MB / 395.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.0005665/0.6105, allocations: 410.1 kB / 0.5565 GB, free: 6.5 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.6105, allocations: 15.97 kB / 0.5565 GB, free: 6.484 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.6106, allocations: 11.91 kB / 0.5565 GB, free: 6.473 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.611, allocations: 226.7 kB / 0.5567 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.6111, allocations: 4 kB / 0.5567 GB, free: 6.207 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.6111, allocations: 0 / 0.5567 GB, free: 6.207 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.676e-05/0.6112, allocations: 15.98 kB / 0.5568 GB, free: 6.191 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.6113, allocations: 41.69 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.6113, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6114, allocations: 4 kB / 0.5568 GB, free: 6.141 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.6114, allocations: 0 / 0.5568 GB, free: 6.141 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.6116, allocations: 178.2 kB / 0.557 GB, free: 5.93 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.6118, allocations: 50.56 kB / 0.557 GB, free: 5.871 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.6119, allocations: 16.86 kB / 0.557 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.6119, allocations: 3.938 kB / 0.557 GB, free: 5.848 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.612, allocations: 63.48 kB / 0.5571 GB, free: 5.773 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/0.6121, allocations: 4 kB / 0.5571 GB, free: 5.77 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002617/0.6123, allocations: 77.5 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.6124, allocations: 55.34 kB / 0.5572 GB, free: 5.621 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.6128, allocations: 225.8 kB / 0.5574 GB, free: 5.391 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.6128, allocations: 29.7 kB / 0.5575 GB, free: 5.355 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.6129, allocations: 166.6 kB / 0.5576 GB, free: 5.191 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.613, allocations: 15.8 kB / 0.5577 GB, free: 5.176 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.613, allocations: 0 / 0.5577 GB, free: 5.176 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6131, allocations: 322.8 kB / 0.558 GB, free: 4.852 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.148e-05/0.6132, allocations: 12 kB / 0.558 GB, free: 4.84 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.6132, allocations: 25.7 kB / 0.558 GB, free: 4.809 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.6133, allocations: 12 kB / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6133, allocations: 0 / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/0.6135, allocations: 73.58 kB / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6135, allocations: 4 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6135, allocations: 0 / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6136, allocations: 8.031 kB / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.6137, allocations: 11.98 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.6137, allocations: 0 / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.6138, allocations: 8.125 kB / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6138, allocations: 3.984 kB / 0.5581 GB, free: 4.684 MB / 395.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 () * 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 9.349e-05/0.6139, allocations: 105 kB / 0.5582 GB, free: 4.574 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.614, allocations: 19.77 kB / 0.5582 GB, free: 4.555 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.6142, allocations: 95.22 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6143, allocations: 8 kB / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6143, allocations: 0 / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6143, allocations: 0 / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.6145, allocations: 182.1 kB / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6145, allocations: 0 / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.6146, allocations: 4 kB / 0.5585 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6146, allocations: 4 kB / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.6146, allocations: 3.953 kB / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6146, allocations: 3.984 kB / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6146, allocations: 0 / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.6148, allocations: 108.9 kB / 0.5586 GB, free: 4.09 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.615, allocations: 104.8 kB / 0.5587 GB, free: 3.969 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.615, allocations: 4 kB / 0.5587 GB, free: 3.965 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.6151, allocations: 3.953 kB / 0.5587 GB, free: 3.961 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.6151, allocations: 7.984 kB / 0.5587 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.6152, allocations: 0 / 0.5587 GB, free: 3.953 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002569/0.6154, allocations: 196.2 kB / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6154, allocations: 0 / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000348/0.6158, allocations: 24 kB / 0.5589 GB, free: 3.738 MB / 395.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.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.001022/0.6168, allocations: 346.7 kB / 0.5593 GB, free: 3.438 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.617, allocations: 39.92 kB / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.617, allocations: 0 / 0.5593 GB, free: 3.398 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.6171, allocations: 20 kB / 0.5593 GB, free: 3.379 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.6174, allocations: 39.27 kB / 0.5594 GB, free: 3.344 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.618, allocations: 227 kB / 0.5596 GB, free: 3.094 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.6184, allocations: 0.7236 MB / 0.5603 GB, free: 2.344 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.6184, allocations: 15.44 kB / 0.5603 GB, free: 2.328 MB / 395.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6184, allocations: 0 / 0.5603 GB, free: 2.328 MB / 395.1 MB Notification: Performance of Templates: time 0.005383/0.6238, allocations: 1.916 MB / 0.5622 GB, free: 428 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches