Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002349/0.002348, allocations: 177.8 kB / 8.36 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.359/2.359, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001077/0.001077, allocations: 90.75 kB / 262.1 MB, free: 13.87 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.2931/0.2931, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.137e-05, allocations: 8.219 kB / 418.2 MB, free: 41.01 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4099/0.4099, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.5849, allocations: 86.79 MB / 0.5507 GB, free: 12.5 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5852, allocations: 75.95 kB / 0.5507 GB, free: 12.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0269/0.6122, allocations: 5.477 MB / 0.5561 GB, free: 6.953 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6122, allocations: 0 / 0.5561 GB, free: 6.953 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.6123, allocations: 0.5469 kB / 0.5561 GB, free: 6.953 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.0006216/0.6129, allocations: 414 kB / 0.5565 GB, free: 6.504 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.6129, allocations: 8.031 kB / 0.5565 GB, free: 6.496 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.613, allocations: 15.91 kB / 0.5565 GB, free: 6.48 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.6135, allocations: 234.7 kB / 0.5567 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.6136, allocations: 0 / 0.5567 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.6136, allocations: 0 / 0.5567 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.255e-05/0.6137, allocations: 12 kB / 0.5567 GB, free: 6.199 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.6138, allocations: 49.67 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6138, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6139, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.6139, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.6142, allocations: 174.1 kB / 0.557 GB, free: 5.938 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.6143, allocations: 54.56 kB / 0.557 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.6144, allocations: 20.94 kB / 0.557 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.6144, allocations: 0 / 0.557 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.6146, allocations: 59.41 kB / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.974e-06/0.6146, allocations: 0 / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002915/0.6149, allocations: 89.42 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.615, allocations: 55.41 kB / 0.5572 GB, free: 5.621 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.6154, allocations: 225.8 kB / 0.5574 GB, free: 5.391 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.6154, allocations: 25.7 kB / 0.5575 GB, free: 5.359 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.6155, allocations: 166.6 kB / 0.5576 GB, free: 5.195 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.6156, allocations: 11.81 kB / 0.5576 GB, free: 5.184 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.6156, allocations: 0 / 0.5576 GB, free: 5.184 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6158, allocations: 322.8 kB / 0.5579 GB, free: 4.859 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.614e-05/0.6158, allocations: 12 kB / 0.558 GB, free: 4.848 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.6159, allocations: 25.72 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.546e-05/0.616, allocations: 15.98 kB / 0.558 GB, free: 4.801 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.616, allocations: 0 / 0.558 GB, free: 4.801 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001921/0.6162, allocations: 73.58 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.6162, allocations: 4 kB / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6162, allocations: 4 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.6163, allocations: 0 / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.6164, allocations: 8 kB / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.6164, allocations: 8.016 kB / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.6166, allocations: 4 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.6166, allocations: 4 kB / 0.5581 GB, free: 4.691 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 0.0001/0.6167, allocations: 101 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.6168, allocations: 19.77 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.6171, allocations: 91.23 kB / 0.5583 GB, free: 4.469 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.6171, allocations: 7.984 kB / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6171, allocations: 192 / 0.5583 GB, free: 4.461 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6171, allocations: 11.98 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.6174, allocations: 186.1 kB / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6174, allocations: 0 / 0.5585 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.6174, allocations: 8 kB / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.6175, allocations: 0 / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.6175, allocations: 3.953 kB / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.6175, allocations: 0 / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6175, allocations: 0 / 0.5585 GB, free: 4.219 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.6178, allocations: 116.9 kB / 0.5586 GB, free: 4.086 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.6179, allocations: 100.9 kB / 0.5587 GB, free: 3.969 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.618, allocations: 4 kB / 0.5587 GB, free: 3.965 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.6181, allocations: 7.891 kB / 0.5587 GB, free: 3.957 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.6181, allocations: 7.984 kB / 0.5587 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6181, allocations: 8 kB / 0.5587 GB, free: 3.941 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002626/0.6184, allocations: 184.2 kB / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6184, allocations: 0 / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.6187, 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.001092/0.6198, allocations: 342 kB / 0.5593 GB, free: 3.441 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.6201, allocations: 39.92 kB / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6201, allocations: 0 / 0.5593 GB, free: 3.402 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.66e-05/0.6202, allocations: 20 kB / 0.5593 GB, free: 3.383 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.6206, allocations: 27.78 kB / 0.5593 GB, free: 3.355 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.6212, allocations: 235 kB / 0.5596 GB, free: 3.098 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.6217, allocations: 0.7158 MB / 0.5603 GB, free: 2.355 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.6218, allocations: 19.42 kB / 0.5603 GB, free: 2.336 MB / 395.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6218, allocations: 0 / 0.5603 GB, free: 2.336 MB / 395.1 MB Notification: Performance of Templates: time 0.006429/0.6282, allocations: 1.919 MB / 0.5622 GB, free: 436 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches