Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.00144/0.00144, allocations: 83.58 kB / 21.18 MB, free: 3.387 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.001223/0.001223, allocations: 165 kB / 24.56 MB, free: 20 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 1.06/1.06, allocations: 177.1 MB / 205 MB, free: 5.293 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.2768/0.2768, allocations: 34.26 MB / 295.7 MB, free: 0.7227 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.098e-05, allocations: 2.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002216/0.002237, allocations: 1.685 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007624/0.002999, allocations: 0.5531 MB / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.003061, allocations: 0 / 380.3 MB, free: 376 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.003342, allocations: 99.61 kB / 380.4 MB, free: 276 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.003658, allocations: 123.5 kB / 380.5 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.003932, allocations: 111.7 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.004119, allocations: 103.7 kB / 380.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.004231, allocations: 23.98 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.004303, allocations: 55.88 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.497e-05/0.004398, allocations: 59.86 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.004414, allocations: 4 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-05/0.004497, allocations: 47.92 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.004546, allocations: 31.91 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.004577, allocations: 19.88 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.004759, allocations: 115.5 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.004762, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.004764, allocations: 4 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.004768, allocations: 0 / 381.1 MB, free: 15.58 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004166/0.005185, allocations: 459.8 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.00522, allocations: 12.03 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.005269, allocations: 20.84 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.005411, allocations: 160.3 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.005423, allocations: 4.375 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.005445, allocations: 12.38 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.005578, allocations: 70.94 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.00559, allocations: 192 / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.005601, allocations: 4.125 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.005608, allocations: 0 / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.36e-05/0.005652, allocations: 27.97 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.00598, allocations: 331.5 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.777e-05/0.006058, allocations: 55.05 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.006084, allocations: 19.67 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.006104, allocations: 4 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.006124, allocations: 45.27 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.006125, allocations: 4 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000613/0.006738, allocations: 245.7 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.00677, allocations: 51.41 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.006917, allocations: 250.7 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.006928, allocations: 25.7 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.006991, allocations: 166.8 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.007025, allocations: 43.64 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.007065, allocations: 35.36 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.00719, allocations: 0.504 MB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.007224, allocations: 27.92 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.007255, allocations: 23.88 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.007324, allocations: 51.67 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.007325, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001149/0.00744, allocations: 101.6 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.007454, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.007459, allocations: 4 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.007472, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.007566, allocations: 35.92 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.007571, allocations: 0 / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.007594, allocations: 7.938 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.0076, allocations: 0 / 383.9 MB, free: 12.61 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 (13): * Single equations (assignments): 13 * 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.619e-05/0.007666, allocations: 160.6 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.007691, allocations: 19.91 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.007855, allocations: 127 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007858, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.007862, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007865, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.008202, allocations: 444.8 kB / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008204, allocations: 0 / 384.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.008254, allocations: 27.98 kB / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.008256, allocations: 0 / 384.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.008267, allocations: 11.92 kB / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.008269, allocations: 0 / 384.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.008271, allocations: 3.938 kB / 384.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.008416, allocations: 267.1 kB / 384.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.008431, allocations: 11.91 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.008446, allocations: 7.969 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.008482, allocations: 8 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.008515, allocations: 7.984 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.008523, allocations: 8 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.703e-05/0.0086, allocations: 185 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0086, allocations: 0 / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.008772, allocations: 27.94 kB / 385.1 MB, free: 11.24 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 (13): * Single equations (assignments): 13 * 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.001063/0.009835, allocations: 442.8 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.009965, allocations: 63.66 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.009968, allocations: 0 / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.01001, allocations: 51.53 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.01023, allocations: 23.98 kB / 385.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.01064, allocations: 280.6 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.356e-05/0.01069, allocations: 75.33 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.01075, allocations: 32.52 kB / 386.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.01079, allocations: 16.5 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01079, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.003576/0.01436, allocations: 1.735 MB / 387.8 MB, free: 8.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.181065984070301]