Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001006/0.001006, 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.001232/0.001232, allocations: 160.5 kB / 24.99 MB, free: 9.316 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.1/1.1, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.2849/0.2849, allocations: 34.26 MB / 296.1 MB, free: 0.7656 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.447e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002443/0.002478, allocations: 1.654 MB / 379.7 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000812/0.00329, allocations: 0.5453 MB / 380.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.574e-05/0.003355, allocations: 7.938 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.003825, allocations: 447.1 kB / 380.7 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.004221, allocations: 295.1 kB / 381 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.004573, allocations: 171.6 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.004788, allocations: 175.6 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.004895, allocations: 7.984 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.005009, allocations: 115.8 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.005205, allocations: 239.6 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.005222, allocations: 4 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-05/0.005286, allocations: 27.92 kB / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.005367, allocations: 83.7 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.005407, allocations: 35.75 kB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.005613, allocations: 191.2 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.005618, allocations: 4 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.005619, allocations: 0 / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.005624, allocations: 0 / 382 MB, free: 14.97 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000562/0.006186, allocations: 0.6854 MB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.006227, allocations: 8.031 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.006292, allocations: 44.66 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.006522, allocations: 248.8 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.006535, allocations: 8.375 kB / 383 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.006545, allocations: 4.312 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.006688, allocations: 54.95 kB / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.006696, allocations: 192 / 383 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.006707, allocations: 4.125 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.006715, allocations: 0 / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.611e-05/0.006741, allocations: 8 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.007153, allocations: 415.8 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/0.007206, allocations: 34.98 kB / 383.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.007229, allocations: 19.69 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.007247, allocations: 4 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.007271, allocations: 41.38 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.007272, allocations: 0 / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.007455, allocations: 81.36 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.007493, allocations: 51.41 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.007935, allocations: 0.6393 MB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.007945, allocations: 25.7 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.008084, allocations: 282.8 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.008102, allocations: 3.953 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.008131, allocations: 23.5 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.00828, allocations: 0.5547 MB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.008298, allocations: 4 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.008308, allocations: 4 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.008339, allocations: 15.69 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.008341, allocations: 0 / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.875e-05/0.00842, allocations: 89.28 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.008434, allocations: 4 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008439, allocations: 0 / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.008452, allocations: 0 / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.008515, allocations: 12.03 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.008521, allocations: 0 / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.008544, allocations: 4 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.008549, allocations: 0 / 385.3 MB, free: 11.41 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 8.036e-05/0.00863, allocations: 160.6 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.008662, allocations: 47.66 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.00878, allocations: 72.75 kB / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008782, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.008786, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.008788, allocations: 0 / 385.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.008989, allocations: 280.6 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.008991, allocations: 3.938 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.009015, allocations: 7.984 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.009019, allocations: 3.938 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.009025, allocations: 0 / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.009026, allocations: 0 / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009027, allocations: 0 / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.009137, allocations: 227.7 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.009162, allocations: 39.66 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.009177, allocations: 0 / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.009214, allocations: 8.031 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.009229, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.009233, allocations: 4 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002401/0.009473, allocations: 426.8 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009473, allocations: 0 / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001671/0.00964, allocations: 19.94 kB / 386.6 MB, free: 10.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.0007675/0.01041, allocations: 336.4 kB / 386.9 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.228e-05/0.01049, allocations: 19.67 kB / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01049, allocations: 0 / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.01051, allocations: 11.69 kB / 387 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01076, allocations: 44.75 kB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006018/0.01136, allocations: 0.5652 MB / 387.6 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.148e-05/0.01144, allocations: 123.2 kB / 387.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.878e-05/0.01148, allocations: 7.984 kB / 387.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.0115, allocations: 12.5 kB / 387.7 MB, free: 9.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0115, allocations: 3.938 kB / 387.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of Templates: time 0.004011/0.01551, allocations: 1.156 MB / 388.9 MB, free: 7.871 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.2699910439550877]