Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002102/0.002101, 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 1.976/1.976, 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.001748/0.001747, allocations: 95.14 kB / 262.1 MB, free: 13.86 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.2891/0.2891, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.119e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.419, allocations: 58.86 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.5837, allocations: 86.8 MB / 0.5507 GB, free: 12.5 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5841, allocations: 75.95 kB / 0.5508 GB, free: 12.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02453/0.6086, allocations: 5.481 MB / 0.5561 GB, free: 6.949 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.6087, allocations: 0 / 0.5561 GB, free: 6.949 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.288e-05/0.6087, allocations: 4.547 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.0006365/0.6093, allocations: 410 kB / 0.5565 GB, free: 6.5 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6094, allocations: 12.03 kB / 0.5565 GB, free: 6.488 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.6095, allocations: 7.906 kB / 0.5565 GB, free: 6.48 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.61, allocations: 234.7 kB / 0.5567 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.61, allocations: 0 / 0.5567 GB, free: 6.211 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.61, allocations: 4 kB / 0.5567 GB, free: 6.207 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.797e-05/0.6101, allocations: 15.98 kB / 0.5568 GB, free: 6.191 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.6102, allocations: 41.69 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.6103, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.6103, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.6103, allocations: 0 / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.6106, allocations: 178.2 kB / 0.557 GB, free: 5.934 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.6107, allocations: 50.56 kB / 0.557 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.6108, allocations: 16.86 kB / 0.557 GB, free: 5.855 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.6108, allocations: 0 / 0.557 GB, free: 5.855 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.611, allocations: 63.48 kB / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.611, allocations: 0 / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002842/0.6113, allocations: 89.42 kB / 0.5572 GB, free: 5.688 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.6114, allocations: 59.39 kB / 0.5572 GB, free: 5.617 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.6117, allocations: 225.8 kB / 0.5575 GB, free: 5.387 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.6118, allocations: 25.7 kB / 0.5575 GB, free: 5.355 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.6119, allocations: 170.6 kB / 0.5576 GB, free: 5.188 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.6119, allocations: 7.812 kB / 0.5577 GB, free: 5.18 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.6119, allocations: 0 / 0.5577 GB, free: 5.18 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6121, allocations: 322.8 kB / 0.558 GB, free: 4.855 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.985e-05/0.6121, allocations: 8 kB / 0.558 GB, free: 4.848 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.984e-05/0.6122, allocations: 33.7 kB / 0.558 GB, free: 4.809 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.6123, allocations: 11.94 kB / 0.558 GB, free: 4.797 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6123, allocations: 4 kB / 0.558 GB, free: 4.793 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001766/0.6125, allocations: 77.56 kB / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6125, allocations: 4 kB / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6125, allocations: 288 / 0.5581 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.6126, allocations: 4 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.6127, allocations: 8 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.6127, allocations: 12.02 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.6128, allocations: 0 / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.6128, allocations: 4 kB / 0.5581 GB, free: 4.68 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.98e-05/0.6129, allocations: 109 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.613, allocations: 15.77 kB / 0.5582 GB, free: 4.551 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.6133, allocations: 95.23 kB / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6133, allocations: 0 / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6133, allocations: 0 / 0.5583 GB, free: 4.449 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6133, allocations: 4 kB / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.6136, allocations: 190.1 kB / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6136, allocations: 0 / 0.5585 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.6136, allocations: 7.984 kB / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6137, allocations: 0 / 0.5585 GB, free: 4.215 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.6137, allocations: 3.953 kB / 0.5585 GB, free: 4.211 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.6137, allocations: 4 kB / 0.5585 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6137, allocations: 0 / 0.5585 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.6139, allocations: 108.9 kB / 0.5586 GB, free: 4.082 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6141, allocations: 104.9 kB / 0.5587 GB, free: 3.961 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.6141, allocations: 0 / 0.5587 GB, free: 3.961 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.6142, allocations: 11.94 kB / 0.5587 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.6143, allocations: 0 / 0.5587 GB, free: 3.949 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.6143, allocations: 8 kB / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.6146, allocations: 184.2 kB / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6146, allocations: 0 / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.000339/0.6149, allocations: 27.98 kB / 0.559 GB, free: 3.734 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.001039/0.616, allocations: 348.5 kB / 0.5593 GB, free: 3.426 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.6161, allocations: 35.94 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6162, allocations: 0 / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.359e-05/0.6162, allocations: 20 kB / 0.5593 GB, free: 3.371 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.6166, allocations: 27.83 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.0006126/0.6172, allocations: 231 kB / 0.5596 GB, free: 3.09 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.6176, allocations: 0.7197 MB / 0.5603 GB, free: 2.344 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.6177, allocations: 11.44 kB / 0.5603 GB, free: 2.332 MB / 395.1 MB Notification: Performance of SimCode: time 8.32e-07/0.6177, allocations: 0 / 0.5603 GB, free: 2.332 MB / 395.1 MB Notification: Performance of Templates: time 0.005679/0.6234, allocations: 1.927 MB / 0.5622 GB, free: 424 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches