Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00093/0.0009301, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.66/1.66, allocations: 205.3 MB / 213.7 MB, free: 1.664 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.0009478/0.0009478, allocations: 86.62 kB / 261.7 MB, free: 1.613 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.2078/0.2078, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.183e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4618/0.5875, allocations: 87 MB / 0.5509 GB, free: 7.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.5878, allocations: 72.62 kB / 0.551 GB, free: 7.945 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01368/0.6015, allocations: 5.903 MB / 0.5567 GB, free: 3.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.6015, allocations: 0 / 0.5567 GB, free: 3.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.6015, allocations: 7.828 kB / 0.5567 GB, free: 3.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004574/0.602, allocations: 405.4 kB / 0.5571 GB, free: 2.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6021, allocations: 8.031 kB / 0.5571 GB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.6021, allocations: 15.81 kB / 0.5571 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.6025, allocations: 241.2 kB / 0.5574 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.6025, allocations: 4 kB / 0.5574 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.6025, allocations: 4 kB / 0.5574 GB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/0.6027, allocations: 34.91 kB / 0.5574 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6028, allocations: 60.86 kB / 0.5575 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.6028, allocations: 7.906 kB / 0.5575 GB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6028, allocations: 0 / 0.5575 GB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.6028, allocations: 7.922 kB / 0.5575 GB, free: 2.406 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.6032, allocations: 300.3 kB / 0.5578 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.6034, allocations: 72.44 kB / 0.5578 GB, free: 2.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.6034, allocations: 24.09 kB / 0.5579 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.6035, allocations: 0 / 0.5579 GB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.6036, allocations: 78.03 kB / 0.5579 GB, free: 1.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.883e-06/0.6036, allocations: 0 / 0.5579 GB, free: 1.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005548/0.6042, allocations: 201.1 kB / 0.5581 GB, free: 1.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.6042, allocations: 55.41 kB / 0.5582 GB, free: 1.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.6044, allocations: 218 kB / 0.5584 GB, free: 1.516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.6044, allocations: 29.7 kB / 0.5584 GB, free: 1.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.6045, allocations: 109.4 kB / 0.5585 GB, free: 1.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.6045, allocations: 35.98 kB / 0.5586 GB, free: 1.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.6045, allocations: 0 / 0.5586 GB, free: 1.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.094e-05/0.6046, allocations: 330 kB / 0.5589 GB, free: 1.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.6047, allocations: 26.44 kB / 0.5589 GB, free: 1.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-05/0.6047, allocations: 47.97 kB / 0.559 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.6048, allocations: 29.8 kB / 0.559 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6048, allocations: 0 / 0.559 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001736/0.605, allocations: 127.7 kB / 0.5591 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.605, allocations: 7.938 kB / 0.5591 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.605, allocations: 0 / 0.5591 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.605, allocations: 0 / 0.5591 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.6052, allocations: 27.55 kB / 0.5591 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.6052, allocations: 4.031 kB / 0.5591 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.6052, allocations: 7.953 kB / 0.5591 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.6052, allocations: 11.98 kB / 0.5592 GB, free: 0.7969 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 (13): * Single equations (assignments): 13 * 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.307e-05/0.6053, allocations: 110.3 kB / 0.5593 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.6053, allocations: 19.75 kB / 0.5593 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.6056, allocations: 151.6 kB / 0.5594 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6056, allocations: 0 / 0.5594 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.6056, allocations: 8 kB / 0.5594 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.6056, allocations: 0 / 0.5594 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.6061, allocations: 447 kB / 0.5599 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6061, allocations: 4 kB / 0.5599 GB, free: 104 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.625e-05/0.6061, allocations: 12 kB / 0.5599 GB, free: 92 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.6061, allocations: 7.984 kB / 0.5599 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.6062, allocations: 2.75 kB / 0.5599 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.6062, allocations: 0 / 0.5599 GB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6062, allocations: 15.92 kB / 0.5599 GB, free: 68 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.6065, allocations: 236.2 kB / 0.5601 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.6066, allocations: 104.1 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.6066, allocations: 2.5 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.6067, allocations: 11.94 kB / 0.5602 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.6068, allocations: 11.98 kB / 0.5603 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.6068, allocations: 4 kB / 0.5603 GB, free: 15.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.607, allocations: 180.9 kB / 0.5604 GB, free: 15.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.607, allocations: 0 / 0.5604 GB, free: 15.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002707/0.6072, allocations: 35.75 kB / 0.5605 GB, free: 15.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 11 * 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.0009634/0.6082, allocations: 397 kB / 0.5608 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.6084, allocations: 77.3 kB / 0.5609 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6084, allocations: 4 kB / 0.5609 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.6085, allocations: 40.98 kB / 0.561 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.6088, allocations: 27.66 kB / 0.561 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.6093, allocations: 239.1 kB / 0.5612 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.6096, allocations: 0.723 MB / 0.5619 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.694e-05/0.6097, allocations: 24.77 kB / 0.5619 GB, free: 14.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.6098, allocations: 19.44 kB / 0.562 GB, free: 14.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6098, allocations: 0 / 0.562 GB, free: 14.04 MB / 378.7 MB Notification: Performance of Templates: time 0.005052/0.6148, allocations: 1.909 MB / 0.5638 GB, free: 12.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches