Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001041/0.001041, allocations: 78.66 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.001173/0.001173, allocations: 166.2 kB / 24.82 MB, free: 9.266 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3046/0.3046, allocations: 34.27 MB / 296.1 MB, free: 0.7305 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.149e-05, allocations: 5.266 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002883/0.002914, allocations: 1.65 MB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.00393, allocations: 0.5375 MB / 380.7 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.004018, allocations: 4 kB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.004389, allocations: 75.7 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.004784, allocations: 107.5 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.005196, allocations: 107.7 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.005406, allocations: 87.69 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.005531, allocations: 8 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.005619, allocations: 47.88 kB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.005741, allocations: 47.88 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.005758, allocations: 8 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.005857, allocations: 43.92 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.005907, allocations: 15.94 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.005945, allocations: 23.91 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.006119, allocations: 83.62 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006124, allocations: 0 / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.006127, allocations: 3.984 kB / 381.4 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.006132, allocations: 0 / 381.4 MB, free: 15.51 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.000453/0.006585, allocations: 443.8 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.006628, allocations: 8.031 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.006668, allocations: 12.89 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.006826, allocations: 152.3 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.006839, allocations: 4.375 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.006862, allocations: 4.375 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.006985, allocations: 58.94 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006994, allocations: 192 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.007002, allocations: 8.125 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.007007, allocations: 0 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.007046, allocations: 7.984 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.007337, allocations: 268.4 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.54e-05/0.007402, allocations: 39.05 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.007421, allocations: 11.69 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.007449, allocations: 4 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.007475, allocations: 37.33 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.007477, allocations: 0 / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005837/0.008061, allocations: 161.8 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.008096, allocations: 51.41 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.008237, allocations: 230.5 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.008251, allocations: 25.7 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.008323, allocations: 162.8 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.008356, allocations: 27.73 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.008394, allocations: 31.3 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.008525, allocations: 0.5001 MB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.008542, allocations: 8 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.333e-05/0.008555, allocations: 4 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.0086, allocations: 31.67 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.008602, allocations: 3.938 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.16e-05/0.008694, allocations: 77.52 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.008707, allocations: 6.344 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008711, allocations: 4 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.008722, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.008793, allocations: 20.03 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.008796, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.008815, allocations: 3.984 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.008821, allocations: 8 kB / 383.7 MB, free: 12.93 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 8.232e-05/0.008903, allocations: 156.5 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.008937, allocations: 11.95 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.009079, allocations: 91.38 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.009082, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009084, allocations: 4 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.009087, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.009396, allocations: 357.6 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.009398, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.009442, allocations: 12 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.009444, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.00945, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.009453, allocations: 3.984 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.009455, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.009589, allocations: 239.4 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.009601, allocations: 15.94 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.009614, allocations: 0 / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.009649, allocations: 11.98 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.009673, allocations: 0 / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.009678, allocations: 4 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.673e-05/0.009745, allocations: 159.8 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.009745, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.009917, allocations: 31.86 kB / 384.8 MB, free: 11.78 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.001023/0.01094, allocations: 430.5 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.907e-05/0.01104, allocations: 35.61 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01104, allocations: 4 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.01107, allocations: 35.59 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01129, allocations: 19.98 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.01164, allocations: 218.6 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.92e-05/0.01169, allocations: 75.33 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.935e-05/0.01172, allocations: 16.78 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.01179, allocations: 86.19 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01179, allocations: 0 / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.003332/0.01512, allocations: 1.539 MB / 387.3 MB, free: 9.438 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.4202288729138672]