Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001141/0.001141, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.001782/0.001782, allocations: 171.3 kB / 24.82 MB, free: 8.938 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.096/1.096, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.3288/0.3288, allocations: 34.27 MB / 296.1 MB, free: 0.7344 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.Test25_usertab,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.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,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.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.708e-05, allocations: 5.125 kB / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003052/0.003079, allocations: 1.64 MB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.004043, allocations: 0.5492 MB / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.004119, allocations: 0 / 380.7 MB, free: 196 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.004351, allocations: 23.8 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.004659, allocations: 83.55 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.004982, allocations: 119.6 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.005155, allocations: 71.77 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.772e-05/0.005253, allocations: 11.98 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.005329, allocations: 35.84 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.005415, allocations: 27.91 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.005433, allocations: 4 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.005616, allocations: 95.81 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.491e-05/0.005661, allocations: 15.92 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.005687, allocations: 12 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.005938, allocations: 147.5 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005941, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.005942, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.005946, allocations: 0 / 381.3 MB, free: 15.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004443/0.00639, allocations: 431.9 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.00643, allocations: 8.031 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.00647, allocations: 12.89 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.006624, allocations: 143 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.006633, allocations: 384 / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.006653, allocations: 8.312 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.006788, allocations: 104 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006797, allocations: 192 / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.006805, allocations: 4.125 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.006813, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.006835, allocations: 4 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.007157, allocations: 268.3 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.007226, allocations: 47.03 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.007245, allocations: 11.69 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.007266, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.007296, allocations: 37.39 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.007298, allocations: 4 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003502/0.007648, allocations: 105.5 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.007688, allocations: 81.11 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.007832, allocations: 201.8 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.007845, allocations: 25.7 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.095e-05/0.007916, allocations: 138.9 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.008002, allocations: 27.77 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.008057, allocations: 27.38 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.008188, allocations: 0.4884 MB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.008222, allocations: 8 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.008271, allocations: 69.11 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.435e-05/0.008316, allocations: 23.69 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008317, allocations: 0 / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001007/0.008418, allocations: 69.56 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.008433, allocations: 11.94 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008438, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.00845, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.008535, allocations: 15.98 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.008537, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.008571, allocations: 15.88 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.008576, allocations: 4.031 kB / 383.7 MB, free: 12.96 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 8.198e-05/0.008658, allocations: 160.6 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.008682, allocations: 11.89 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.00882, allocations: 78.67 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.008824, allocations: 4 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.008826, allocations: 0 / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.00883, allocations: 3.984 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.009114, allocations: 317.9 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.009117, allocations: 4 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.00916, allocations: 11.98 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.009163, allocations: 4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.009168, allocations: 4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009169, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009171, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.009287, allocations: 216.2 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.366e-05/0.0093, allocations: 11.95 kB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.009312, allocations: 0 / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.863e-05/0.009351, allocations: 4 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.009375, allocations: 7.922 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.009378, allocations: 4 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.001e-05/0.009438, allocations: 156.9 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009438, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002006/0.009639, allocations: 39.88 kB / 384.7 MB, free: 11.87 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.001116/0.01075, allocations: 0.4914 MB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.247e-05/0.01085, allocations: 31.67 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01085, allocations: 0 / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.71e-05/0.01088, allocations: 35.73 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.01108, allocations: 42.02 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.01138, allocations: 186.3 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.01141, allocations: 59.34 kB / 385.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.156e-05/0.01146, allocations: 12.73 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.01153, allocations: 90.17 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01153, allocations: 4 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003575/0.0151, allocations: 2.233 MB / 387.9 MB, free: 8.828 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.5241171652451158]