Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2556/0.2556, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.771e-05, allocations: 5.828 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001947/0.001964, allocations: 1.657 MB / 377.7 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006604/0.002625, allocations: 0.5531 MB / 378.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.002679, allocations: 0 / 378.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.003124, allocations: 459 kB / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003432/0.003468, allocations: 295.1 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.003742, allocations: 163.6 kB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.003927, allocations: 171.6 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.004008, allocations: 7.984 kB / 379.3 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.004102, allocations: 119.8 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.004278, allocations: 239.6 kB / 379.6 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004293, allocations: 4 kB / 379.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.004346, allocations: 31.86 kB / 379.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.974e-05/0.004426, allocations: 83.7 kB / 379.8 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.004464, allocations: 35.75 kB / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.004657, allocations: 187.2 kB / 380 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.00466, allocations: 4 kB / 380 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004661, allocations: 0 / 380 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.004666, allocations: 4 kB / 380 MB, free: 0.9727 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005483/0.005214, allocations: 0.6815 MB / 380.7 MB, free: 260 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.005248, allocations: 12.03 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.005303, allocations: 40.66 kB / 380.7 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.005508, allocations: 253 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.345e-06/0.005517, allocations: 384 / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.005525, allocations: 384 / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.00563, allocations: 54.95 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.005637, allocations: 192 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.005646, allocations: 4.125 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.005655, allocations: 8 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.663e-05/0.005681, allocations: 11.98 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.006057, allocations: 411.7 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.625e-05/0.006103, allocations: 31.06 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.006125, allocations: 19.61 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.006142, allocations: 0 / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.006167, allocations: 41.45 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.006168, allocations: 3.938 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.006316, allocations: 77.36 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.006347, allocations: 59.53 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.006761, allocations: 0.6354 MB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.006773, allocations: 25.7 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.006917, allocations: 286.8 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.006932, allocations: 3.953 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.006959, allocations: 27.36 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.007107, allocations: 0.547 MB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.007121, allocations: 4 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.007128, allocations: 0 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.007158, allocations: 19.69 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00716, allocations: 4.062 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.806e-05/0.007238, allocations: 89.27 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.007252, allocations: 4 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.007256, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.007269, allocations: 4 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.007324, allocations: 8 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.007329, allocations: 3.984 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.211e-05/0.007351, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.007356, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.007432, allocations: 160.6 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.007465, allocations: 47.66 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.007569, allocations: 80.67 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.007572, allocations: 4 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.007576, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007579, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.007781, allocations: 272.5 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007783, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.007801, allocations: 4 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007804, allocations: 3.938 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.007811, allocations: 0 / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.007812, allocations: 4.031 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007812, allocations: 4 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.007921, allocations: 223.7 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.007946, allocations: 39.66 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.007962, allocations: 3.938 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.668e-05/0.007998, allocations: 4 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.008015, allocations: 11.92 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.008016, allocations: 0 / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002554/0.008272, allocations: 426.8 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008272, allocations: 0 / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.008439, allocations: 20.03 kB / 384.6 MB, free: 12.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008062/0.009245, allocations: 329.8 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.386e-05/0.009319, allocations: 15.69 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.00932, allocations: 0 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.009333, allocations: 11.69 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.009579, allocations: 37.5 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.01023, allocations: 0.5704 MB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.088e-05/0.0103, allocations: 119.2 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.26e-05/0.01033, allocations: 11.97 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.01036, allocations: 12.5 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01036, allocations: 0 / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Templates: time 0.003916/0.01427, allocations: 1.161 MB / 386.9 MB, free: 9.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1620601820759475]