Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.00111/0.00111, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001348/0.001348, allocations: 172.4 kB / 25.61 MB, free: 8.922 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.075/1.075, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1505/0.1505, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.692e-05, allocations: 6.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00259/0.002617, allocations: 1.622 MB / 378.9 MB, free: 23.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008339/0.003451, allocations: 0.5219 MB / 379.4 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.003532, allocations: 4 kB / 379.4 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.003827, allocations: 31.83 kB / 379.5 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.004187, allocations: 79.56 kB / 379.5 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.004535, allocations: 99.56 kB / 379.6 MB, free: 23.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.004738, allocations: 59.84 kB / 379.7 MB, free: 23.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.004872, allocations: 15.84 kB / 379.7 MB, free: 23.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.004955, allocations: 31.91 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.005038, allocations: 19.92 kB / 379.8 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.005059, allocations: 0 / 379.8 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.005169, allocations: 35.92 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.005228, allocations: 19.92 kB / 379.8 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.005256, allocations: 7.938 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.005423, allocations: 71.73 kB / 379.9 MB, free: 22.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005426, allocations: 4 kB / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.005428, allocations: 0 / 379.9 MB, free: 22.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.005434, allocations: 0 / 379.9 MB, free: 22.96 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.0003745/0.005808, allocations: 420 kB / 380.3 MB, free: 22.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.005844, allocations: 15.98 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.005879, allocations: 12.89 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.006013, allocations: 148.9 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.006026, allocations: 384 / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.006046, allocations: 4.375 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.819e-05/0.006134, allocations: 54.7 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.006146, allocations: 4 kB / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.006153, allocations: 0 / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.006156, allocations: 0 / 380.5 MB, free: 22.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.728e-05/0.006173, allocations: 7.984 kB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.006401, allocations: 252.4 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.006517, allocations: 43.05 kB / 380.8 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.545e-05/0.006533, allocations: 19.61 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.006547, allocations: 4 kB / 380.9 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.006563, allocations: 33.39 kB / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006564, allocations: 0 / 380.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003/0.006863, allocations: 93.56 kB / 381 MB, free: 21.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.006886, allocations: 55.41 kB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.006965, allocations: 207.3 kB / 381.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.006972, allocations: 25.7 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.007012, allocations: 146.8 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.007037, allocations: 27.81 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.007071, allocations: 23.38 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.007135, allocations: 0.4884 MB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.007147, allocations: 7.938 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.007159, allocations: 4 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.007191, allocations: 31.86 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.007193, allocations: 3.938 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.113e-05/0.007245, allocations: 49.66 kB / 382 MB, free: 20.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.007258, allocations: 8 kB / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007263, allocations: 0 / 382 MB, free: 20.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.007271, allocations: 7.938 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.433e-05/0.007305, allocations: 15.92 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-06/0.007307, allocations: 0 / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.007326, allocations: 8 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.007331, allocations: 0 / 382.1 MB, free: 20.58 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 5.755e-05/0.007388, allocations: 164.5 kB / 382.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.007409, allocations: 11.95 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.007516, allocations: 62.11 kB / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.007517, allocations: 0 / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.007518, allocations: 0 / 382.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.007523, allocations: 7.984 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.007706, allocations: 302 kB / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007707, allocations: 0 / 382.6 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.346e-05/0.007731, allocations: 8 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.007732, allocations: 0 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.007738, allocations: 4 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.007739, allocations: 0 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.00774, allocations: 192 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.344e-05/0.007824, allocations: 219.8 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.007831, allocations: 11.94 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.007839, allocations: 0 / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.873e-05/0.007868, allocations: 8 kB / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.007896, allocations: 0 / 382.9 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.0079, allocations: 11.98 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.328e-05/0.007943, allocations: 151.4 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007943, allocations: 0 / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.008114, allocations: 15.98 kB / 383 MB, free: 19.55 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.000889/0.009003, allocations: 383.7 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001171/0.00912, allocations: 31.61 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.009124, allocations: 0 / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.479e-05/0.009148, allocations: 23.61 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.009396, allocations: 35.78 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.009761, allocations: 176.2 kB / 383.7 MB, free: 19.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.009802, allocations: 70.39 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.13e-05/0.009834, allocations: 11.98 kB / 383.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.009888, allocations: 74.2 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of SimCode: time 8.81e-07/0.009889, allocations: 0 / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of Templates: time 0.003427/0.01332, allocations: 1.28 MB / 385.1 MB, free: 17.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.3678792440332472]