Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0009387/0.0009387, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.0009353/0.0009353, allocations: 171.1 kB / 24.82 MB, free: 8.922 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 0.9539/0.9539, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.222/0.222, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.381e-05, allocations: 10.31 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00435/0.004364, allocations: 1.683 MB / 378.2 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.005193, allocations: 0.5569 MB / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.005254, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.005783, allocations: 463 kB / 379.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.006211, allocations: 299.1 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.006792, allocations: 167.5 kB / 379.6 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.006959, allocations: 179.6 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.877e-05/0.007038, allocations: 15.98 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.366e-05/0.007132, allocations: 123.8 kB / 380 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007296, allocations: 239.6 kB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.007326, allocations: 4 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.007391, allocations: 35.86 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.007463, allocations: 91.64 kB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.007495, allocations: 39.73 kB / 380.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.007665, allocations: 191.2 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.007666, allocations: 0 / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.007667, allocations: 4 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.015e-06/0.00767, allocations: 0 / 380.5 MB, free: 324 kB / 346.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.000444/0.008114, allocations: 0.7008 MB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.008145, allocations: 8.031 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.008183, allocations: 48.66 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.008336, allocations: 260.8 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-06/0.008343, allocations: 384 / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.008357, allocations: 4.375 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.008434, allocations: 54.95 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.008443, allocations: 4.172 kB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.008449, allocations: 8.125 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.008454, allocations: 0 / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.008474, allocations: 8 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.008733, allocations: 340.2 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.00884, allocations: 39.05 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.008857, allocations: 15.69 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.008875, allocations: 3.938 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.008891, allocations: 33.39 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.008892, allocations: 0 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000251/0.009143, allocations: 133.3 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.009166, allocations: 59.39 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.0095, allocations: 0.6039 MB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.009509, allocations: 25.7 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.00964, allocations: 294.8 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.00966, allocations: 27.77 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.009687, allocations: 23.38 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.009824, allocations: 0.5508 MB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.009836, allocations: 7.984 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.009848, allocations: 4 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.009875, allocations: 23.88 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.009876, allocations: 4 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.282e-05/0.009949, allocations: 97.34 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.009958, allocations: 5.719 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.009961, allocations: 3.938 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.009971, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-05/0.01, allocations: 11.98 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.01001, allocations: 0 / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.01003, allocations: 11.94 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.01004, allocations: 0 / 383.9 MB, free: 12.73 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 (5): * Single equations (assignments): 5 * 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.289e-05/0.0101, allocations: 156.6 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.01013, allocations: 51.66 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.01024, allocations: 97.2 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.01024, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01024, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01024, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.01049, allocations: 389.8 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01049, allocations: 0 / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.01051, allocations: 8 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01052, allocations: 4 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.01052, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.01052, allocations: 4 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01052, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.844e-05/0.01062, allocations: 247.7 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.01064, allocations: 47.92 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.01066, allocations: 4 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.01069, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.872e-05/0.01071, allocations: 7.984 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.01072, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.0109, allocations: 390.7 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0109, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.01106, allocations: 27.98 kB / 385.3 MB, free: 11.25 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 (5): * Single equations (assignments): 5 * 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.000726/0.01178, allocations: 376.9 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.366e-05/0.01185, allocations: 35.59 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.01185, allocations: 4 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.01187, allocations: 19.67 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.01208, allocations: 30.67 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.01258, allocations: 0.5746 MB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.928e-05/0.01265, allocations: 119.2 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.866e-05/0.01267, allocations: 11.98 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.01272, allocations: 78.19 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 5.2e-07/0.01272, allocations: 4 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003548/0.01627, allocations: 1.519 MB / 388.1 MB, free: 8.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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: 2.8126253611408174]