Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001004/0.001004, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001096/0.001096, allocations: 169 kB / 24.91 MB, free: 8.723 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.9601/0.9601, allocations: 177.1 MB / 205.3 MB, free: 4.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.1551/0.1551, allocations: 34.26 MB / 296.1 MB, free: 13.99 MB / 282.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.31e-07/9.31e-07, allocations: 0 / 325.3 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.183e-05, allocations: 6.312 kB / 325.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.00197/0.001982, allocations: 1.683 MB / 327 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003082, allocations: 1.29 MB / 328.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.003137, allocations: 0 / 328.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.003306, allocations: 31.73 kB / 328.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.003503, allocations: 79.55 kB / 328.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.003658, allocations: 87.69 kB / 328.5 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.003769, allocations: 71.72 kB / 328.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.035e-05/0.00383, allocations: 11.98 kB / 328.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.00388, allocations: 35.91 kB / 328.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.003955, allocations: 27.91 kB / 328.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.003967, allocations: 4 kB / 328.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.004095, allocations: 99.8 kB / 328.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.004128, allocations: 11.94 kB / 328.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.793e-05/0.004146, allocations: 11.98 kB / 328.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.004304, allocations: 139.5 kB / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.004305, allocations: 0 / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004305, allocations: 0 / 328.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.004308, allocations: 0 / 328.9 MB, free: 13.12 MB / 314.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.0002969/0.004605, allocations: 292.4 kB / 329.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.594e-05/0.004631, allocations: 8.031 kB / 329.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.394e-05/0.004655, allocations: 12.92 kB / 329.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.004769, allocations: 141.5 kB / 329.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-06/0.004775, allocations: 384 / 329.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.00479, allocations: 8.328 kB / 329.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.074e-05/0.004881, allocations: 90.38 kB / 329.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.004888, allocations: 192 / 329.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.004895, allocations: 8.125 kB / 329.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.004899, allocations: 0 / 329.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.004917, allocations: 7.984 kB / 329.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.005079, allocations: 159.1 kB / 329.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.469e-05/0.005174, allocations: 38.55 kB / 329.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.085e-05/0.005184, allocations: 4.859 kB / 329.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.005196, allocations: 7.984 kB / 329.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.005214, allocations: 30.56 kB / 329.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.005214, allocations: 0 / 329.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000218/0.005432, allocations: 93.52 kB / 329.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.005462, allocations: 81.11 kB / 329.8 MB, free: 12.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.026e-05/0.005542, allocations: 147.7 kB / 330 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.005552, allocations: 25.7 kB / 330 MB, free: 11.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.005578, allocations: 92.12 kB / 330.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.005595, allocations: 15.91 kB / 330.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.005619, allocations: 17.7 kB / 330.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.00569, allocations: 314.8 kB / 330.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.005701, allocations: 11.92 kB / 330.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.005726, allocations: 47.41 kB / 330.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.005751, allocations: 20.84 kB / 330.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005752, allocations: 0 / 330.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.913e-05/0.005801, allocations: 53.81 kB / 330.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.005811, allocations: 4 kB / 330.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.005814, allocations: 0 / 330.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.005821, allocations: 4.031 kB / 330.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.005859, allocations: 19.92 kB / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.005861, allocations: 0 / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.005877, allocations: 0 / 330.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.005882, allocations: 4 kB / 330.6 MB, free: 11.21 MB / 314.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 4.566e-05/0.005928, allocations: 116.6 kB / 330.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.005946, allocations: 11.92 kB / 330.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.959e-05/0.006016, allocations: 54.14 kB / 330.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.006018, allocations: 4 kB / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.006019, allocations: 0 / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.006021, allocations: 4 kB / 330.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.006183, allocations: 218.7 kB / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.006184, allocations: 3.938 kB / 331 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.006208, allocations: 8 kB / 331 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006209, allocations: 0 / 331 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-06/0.006212, allocations: 4 kB / 331 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006213, allocations: 0 / 331 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006215, allocations: 3.984 kB / 331 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.35e-05/0.006278, allocations: 147.5 kB / 331.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-06/0.006286, allocations: 7.938 kB / 331.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.006295, allocations: 4.25 kB / 331.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.006327, allocations: 7.984 kB / 331.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.006344, allocations: 4 kB / 331.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.006346, allocations: 0 / 331.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.006384, allocations: 35.66 kB / 331.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006384, allocations: 0 / 331.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001472/0.006531, allocations: 35.92 kB / 331.3 MB, free: 10.49 MB / 314.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.001209/0.00774, allocations: 0.6197 MB / 331.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.581e-05/0.007806, allocations: 28.78 kB / 331.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.007808, allocations: 4 kB / 331.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-05/0.007825, allocations: 16.84 kB / 331.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.007968, allocations: 30.34 kB / 332 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.008189, allocations: 158 kB / 332.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.082e-05/0.00822, allocations: 59.34 kB / 332.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.008255, allocations: 20.22 kB / 332.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.008312, allocations: 67.36 kB / 332.3 MB, free: 9.727 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.008313, allocations: 4 kB / 332.3 MB, free: 9.723 MB / 314.7 MB Notification: Performance of Templates: time 0.003189/0.0115, allocations: 1.993 MB / 334.3 MB, free: 7.746 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.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.9219008022919297]