Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001497/0.001497, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001701/0.001701, allocations: 170.4 kB / 24.82 MB, free: 8.879 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.3132/0.3132, allocations: 34.27 MB / 296.1 MB, free: 0.7109 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.CombiTable1Ds.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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.67e-05, allocations: 2.312 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002458/0.002485, allocations: 1.642 MB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.003295, allocations: 0.5219 MB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.003363, allocations: 0 / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.003653, allocations: 83.69 kB / 380.8 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.003965, allocations: 103.6 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.004191, allocations: 99.5 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.004377, allocations: 87.73 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.004491, allocations: 8 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.004578, allocations: 51.88 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.00469, allocations: 47.88 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.004707, allocations: 4 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.004795, allocations: 43.92 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.004852, allocations: 23.92 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.004885, allocations: 19.91 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.005061, allocations: 91.61 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005064, allocations: 4 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.005065, allocations: 0 / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.00507, allocations: 4 kB / 381.4 MB, free: 15.52 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.0004429/0.005513, allocations: 439.9 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.005555, allocations: 8.031 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.005592, allocations: 16.84 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.005734, allocations: 149.1 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.005743, allocations: 384 / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.005769, allocations: 4.375 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.005876, allocations: 62.92 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.005885, allocations: 4.188 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.005892, allocations: 4.125 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.005897, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.00592, allocations: 7.984 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.006176, allocations: 272.3 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/0.00623, allocations: 39.05 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.006248, allocations: 19.77 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.006275, allocations: 3.984 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.006296, allocations: 37.33 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.006297, allocations: 4 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004674/0.006765, allocations: 153.3 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003292/0.007094, allocations: 51.41 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.007235, allocations: 242.3 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.007244, allocations: 25.7 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.007304, allocations: 162.7 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.007329, allocations: 27.8 kB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.007361, allocations: 27.38 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.007481, allocations: 0.4962 MB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.007497, allocations: 8 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.007512, allocations: 11.98 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.00755, allocations: 27.67 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.007553, allocations: 3.938 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.675e-05/0.00764, allocations: 73.58 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.007655, allocations: 8 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.00766, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.007674, allocations: 0 / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.007748, allocations: 15.98 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.007751, allocations: 0 / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.007771, allocations: 8 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007777, allocations: 0 / 383.7 MB, free: 12.94 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 7.797e-05/0.007855, allocations: 172.4 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.007876, allocations: 15.91 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.008008, allocations: 87.36 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.008012, allocations: 4 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.008014, allocations: 0 / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.008018, allocations: 0 / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.008285, allocations: 345.5 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.008287, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.008334, allocations: 24.03 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.008337, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.008342, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.008345, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.008348, allocations: 3.984 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.008465, allocations: 231.4 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.008476, allocations: 11.91 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.008491, allocations: 8 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.008524, allocations: 4 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.008554, allocations: 7.984 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.008559, allocations: 8 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.032e-05/0.00864, allocations: 159.1 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00864, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.008811, allocations: 23.98 kB / 384.8 MB, free: 11.77 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.0009209/0.009732, allocations: 437 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.904e-05/0.009821, allocations: 39.61 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.009823, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.009848, allocations: 27.61 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.0002267/0.01007, allocations: 28.28 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.01042, allocations: 229.9 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.21e-05/0.01047, allocations: 75.33 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.135e-05/0.0105, allocations: 8.734 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.01057, allocations: 82.19 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.442e-06/0.01057, allocations: 0 / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Templates: time 0.003319/0.01389, allocations: 1.504 MB / 387.2 MB, free: 9.465 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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.253517424222082]