Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001412/0.001412, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.00152/0.00152, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2723/0.2723, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.25e-05, allocations: 5.406 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002132/0.002155, allocations: 1.653 MB / 379.7 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007295/0.002884, allocations: 0.5453 MB / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.002944, allocations: 0 / 380.3 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.003185, allocations: 79.69 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.003489, allocations: 111.5 kB / 380.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.003757, allocations: 115.6 kB / 380.6 MB, free: 100 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.003919, allocations: 83.77 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.00401, allocations: 15.97 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.00409, allocations: 43.84 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.004184, allocations: 55.86 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.004199, allocations: 4 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.004283, allocations: 43.92 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.00433, allocations: 23.92 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.004359, allocations: 19.92 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.00451, allocations: 87.66 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.004513, allocations: 0 / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004514, allocations: 4 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004518, allocations: 3.938 kB / 380.9 MB, free: 15.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003883/0.004906, allocations: 443.9 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.004942, allocations: 8.031 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.004983, allocations: 16.84 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.005126, allocations: 149.1 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.005135, allocations: 4.375 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.005158, allocations: 8.375 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.005262, allocations: 50.95 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.00527, allocations: 4.188 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.005286, allocations: 8.125 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.005293, allocations: 0 / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.005327, allocations: 15.92 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.00566, allocations: 291.7 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.39e-05/0.005734, allocations: 43.05 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.00576, allocations: 19.62 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.005782, allocations: 4 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.005803, allocations: 41.31 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.005804, allocations: 0 / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005976/0.006402, allocations: 173.4 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.00644, allocations: 59.39 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.006585, allocations: 238.4 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006596, allocations: 29.64 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.006657, allocations: 154.9 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.006681, allocations: 31.73 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.006713, allocations: 27.38 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.006824, allocations: 0.5 MB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.006846, allocations: 8 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.942e-05/0.006865, allocations: 15.98 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.006911, allocations: 31.62 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.006911, allocations: 0 / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.681e-05/0.006998, allocations: 77.58 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.00701, allocations: 8 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.007015, allocations: 4 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.00703, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.992e-05/0.0071, allocations: 19.98 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.007105, allocations: 0 / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.007124, allocations: 8 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.007132, allocations: 7.984 kB / 383.4 MB, free: 13.05 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 (8): * Single equations (assignments): 8 * 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 6.295e-05/0.007195, allocations: 164.5 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.007218, allocations: 15.91 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.007344, allocations: 79.14 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.007346, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.007349, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.007352, allocations: 11.98 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.007648, allocations: 381.4 kB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.007649, allocations: 0 / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.00769, allocations: 19.92 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.007693, allocations: 4 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.0077, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.007702, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007703, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.00783, allocations: 239.5 kB / 384.3 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.00784, allocations: 7.938 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.007853, allocations: 12.03 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.259e-05/0.007886, allocations: 0 / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.007918, allocations: 11.92 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.007924, allocations: 7.938 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.007997, allocations: 175.1 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007997, allocations: 0 / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.008165, allocations: 19.94 kB / 384.5 MB, free: 11.84 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0008988/0.009064, allocations: 440.5 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.009181, allocations: 43.66 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.009183, allocations: 4 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/0.009219, allocations: 27.62 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.009445, allocations: 19.94 kB / 385 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.009805, allocations: 241.8 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.009847, allocations: 75.33 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.254e-05/0.009889, allocations: 29.02 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.009916, allocations: 12.5 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009917, allocations: 0 / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003008/0.01293, allocations: 1.399 MB / 386.8 MB, free: 9.672 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.323137710802257]