Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001023/0.001023, 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.0012/0.0012, 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 0.9868/0.9868, 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.2402/0.2402, allocations: 34.27 MB / 295.7 MB, free: 0.7617 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.81e-07/8.81e-07, allocations: 0 / 378.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.868e-06/1.075e-05, allocations: 2.312 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.0019/0.00191, allocations: 1.708 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.003025, allocations: 1.313 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.49e-05/0.00307, allocations: 0 / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.003216, allocations: 23.84 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.003439, allocations: 99.42 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.003698, allocations: 167.5 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.003814, allocations: 83.75 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.525e-05/0.003879, allocations: 11.98 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.00393, allocations: 43.84 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.004002, allocations: 35.91 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.004015, allocations: 4 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.00413, allocations: 95.81 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.00417, allocations: 15.92 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.004197, allocations: 27.91 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.004365, allocations: 131.6 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.004367, allocations: 3.984 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004368, allocations: 0 / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.004372, allocations: 0 / 381.8 MB, free: 14.88 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.0003389/0.00471, allocations: 439.9 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.004742, allocations: 12.03 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.004783, allocations: 12.89 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.004909, allocations: 144.4 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-06/0.004916, allocations: 384 / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.004934, allocations: 4.375 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.005057, allocations: 104 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.005064, allocations: 4.125 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.005075, allocations: 12.12 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005081, allocations: 0 / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.215e-05/0.005113, allocations: 11.98 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.005376, allocations: 291.7 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.164e-05/0.005438, allocations: 46.98 kB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.005459, allocations: 15.62 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.005474, allocations: 4 kB / 382.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.005492, allocations: 33.39 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005493, allocations: 0 / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003344/0.005828, allocations: 137.6 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.005858, allocations: 77.11 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.005966, allocations: 203.8 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.005975, allocations: 25.7 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.006021, allocations: 142.9 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.00604, allocations: 23.75 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.006072, allocations: 31.36 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.006173, allocations: 0.4923 MB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.932e-05/0.006192, allocations: 4 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.00623, allocations: 57.06 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/0.006276, allocations: 39.56 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.006277, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.095e-05/0.006358, allocations: 69.7 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.006367, allocations: 8.031 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.00637, allocations: 3.938 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.006382, allocations: 4 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.006449, allocations: 19.98 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.006453, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.00648, allocations: 11.98 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.006486, allocations: 4 kB / 384.3 MB, free: 12.18 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 (7): * Single equations (assignments): 7 * 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.019e-05/0.006546, allocations: 160.5 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.006568, allocations: 11.95 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.006685, allocations: 82.45 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006687, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006691, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.006694, allocations: 3.984 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.006927, allocations: 341.3 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006928, allocations: 0 / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.006966, allocations: 15.98 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.006969, allocations: 4 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.006975, allocations: 0 / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006976, allocations: 480 / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006977, allocations: 0 / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.00709, allocations: 231.7 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.007099, allocations: 7.953 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.007112, allocations: 4 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.00715, allocations: 4 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.007176, allocations: 7.984 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.007179, allocations: 0 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.716e-05/0.007236, allocations: 157.3 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007236, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.007424, allocations: 43.86 kB / 385.3 MB, free: 11.05 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 (7): * Single equations (assignments): 7 * 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.0009079/0.008332, allocations: 488.8 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.008436, allocations: 43.64 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008437, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.008465, allocations: 27.62 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.008654, allocations: 31.88 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.008974, allocations: 208.8 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.763e-05/0.009011, allocations: 67.34 kB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.829e-05/0.00906, allocations: 16.7 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.009092, allocations: 16.5 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009093, allocations: 4 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.003478/0.01257, allocations: 2.015 MB / 388.2 MB, free: 8.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.2713135448284447]