Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001392/0.001392, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.001566/0.001566, allocations: 169.9 kB / 24.91 MB, free: 9.199 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.9403/0.9403, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2482/0.2482, allocations: 34.27 MB / 296.1 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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.736e-05, allocations: 5.469 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002179/0.002196, allocations: 1.74 MB / 327.1 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.002976, allocations: 0.5451 MB / 327.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.00302, allocations: 4 kB / 327.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.003437, allocations: 459.1 kB / 328 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.003737, allocations: 283.2 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.004019, allocations: 139.5 kB / 328.5 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.004206, allocations: 167.7 kB / 328.6 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.479e-05/0.004301, allocations: 8.484 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.004425, allocations: 119.8 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.004599, allocations: 195.6 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.004615, allocations: 8 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.895e-05/0.004684, allocations: 35.92 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.334e-05/0.004777, allocations: 79.72 kB / 329.1 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.004815, allocations: 43.67 kB / 329.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.005036, allocations: 195.2 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005038, allocations: 0 / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005039, allocations: 0 / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005044, allocations: 0 / 329.3 MB, free: 3.609 MB / 298.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.0004467/0.005491, allocations: 0.5424 MB / 329.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.005525, allocations: 12.03 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.005561, allocations: 20.92 kB / 329.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.005743, allocations: 250 kB / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.005751, allocations: 384 / 330.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.005768, allocations: 8.328 kB / 330.1 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.006001, allocations: 58.94 kB / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006009, allocations: 192 / 330.2 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.006017, allocations: 4.125 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.006021, allocations: 0 / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.006042, allocations: 8 kB / 330.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.006229, allocations: 172.1 kB / 330.4 MB, free: 2.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.006351, allocations: 30.56 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.006364, allocations: 12.86 kB / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.006377, allocations: 0 / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.006399, allocations: 38.5 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.006399, allocations: 0 / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000253/0.006652, allocations: 101.6 kB / 330.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.00668, allocations: 55.39 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.007, allocations: 0.5245 MB / 331.1 MB, free: 1.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.007011, allocations: 29.7 kB / 331.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.007073, allocations: 141.3 kB / 331.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.007097, allocations: 23.8 kB / 331.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.007125, allocations: 17.72 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.007237, allocations: 358.7 kB / 331.7 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.00725, allocations: 7.938 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.064e-05/0.007261, allocations: 4 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/0.007302, allocations: 25.03 kB / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.007304, allocations: 0 / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.144e-05/0.007375, allocations: 65.61 kB / 331.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007388, allocations: 4 kB / 331.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.007395, allocations: 3.984 kB / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.007408, allocations: 0 / 331.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.007458, allocations: 15.94 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.007462, allocations: 4 kB / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.007485, allocations: 0 / 331.8 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.007492, allocations: 3.984 kB / 331.8 MB, free: 0.9297 MB / 298.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 7.806e-05/0.00757, allocations: 116.7 kB / 331.9 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.007602, allocations: 23.92 kB / 331.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.007718, allocations: 85.22 kB / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.007721, allocations: 0 / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.007724, allocations: 0 / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.007727, allocations: 0 / 332 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.007954, allocations: 278.6 kB / 332.3 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007955, allocations: 0 / 332.3 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.007985, allocations: 11.98 kB / 332.3 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007987, allocations: 0 / 332.3 MB, free: 392 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.007992, allocations: 7.938 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.007994, allocations: 4 kB / 332.3 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007995, allocations: 192 / 332.3 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.485e-05/0.00809, allocations: 167.4 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.008111, allocations: 31.72 kB / 332.5 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.008124, allocations: 0 / 332.5 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.939e-05/0.008164, allocations: 11.98 kB / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.008187, allocations: 4 kB / 332.5 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.00819, allocations: 0 / 332.5 MB, free: 148 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.008389, allocations: 283.2 kB / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008389, allocations: 0 / 332.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000138/0.008527, allocations: 23.92 kB / 332.8 MB, free: 15.84 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.001009/0.009536, allocations: 0.4934 MB / 333.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.554e-05/0.009592, allocations: 20.84 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.009596, allocations: 7.938 kB / 333.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/0.009612, allocations: 20.84 kB / 333.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.009791, allocations: 41.52 kB / 333.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.01065, allocations: 0.5826 MB / 334 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.983e-05/0.01072, allocations: 114.3 kB / 334.1 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.808e-05/0.01074, allocations: 11.98 kB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.01079, allocations: 59.38 kB / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01079, allocations: 0 / 334.2 MB, free: 14.71 MB / 314.7 MB Notification: Performance of Templates: time 0.003462/0.01425, allocations: 1.456 MB / 335.6 MB, free: 13.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.8273675329983234]