Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0009071/0.0009071, allocations: 81.88 kB / 21.42 MB, free: 3.074 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.001022/0.001022, allocations: 167.4 kB / 24.82 MB, free: 9.27 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.9593/0.9593, allocations: 177.1 MB / 205.3 MB, free: 5.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.2482/0.2482, allocations: 32.81 MB / 294.6 MB, free: 0.625 MB / 266.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 376.5 MB, free: 4.219 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.132e-05/3.313e-05, allocations: 2.312 kB / 376.5 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003387/0.00342, allocations: 1.711 MB / 378.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.004362, allocations: 0.5724 MB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.004427, allocations: 4 kB / 378.8 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.00487, allocations: 455 kB / 379.2 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.005247, allocations: 299.2 kB / 379.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.005539, allocations: 179.5 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.005735, allocations: 179.6 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.005851, allocations: 16.22 kB / 379.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.005965, allocations: 127.8 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.006151, allocations: 247.5 kB / 380.3 MB, free: 444 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.006169, allocations: 4 kB / 380.3 MB, free: 440 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.006249, allocations: 55.91 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.006325, allocations: 91.64 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.006358, allocations: 39.73 kB / 380.4 MB, free: 252 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.00654, allocations: 211.1 kB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.006544, allocations: 3.938 kB / 380.7 MB, free: 36 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.006545, allocations: 8 kB / 380.7 MB, free: 28 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.006549, allocations: 0 / 380.7 MB, free: 28 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005431/0.007092, allocations: 0.7124 MB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.007124, allocations: 8.031 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.007168, allocations: 48.61 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.007331, allocations: 252.8 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.007339, allocations: 384 / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.007357, allocations: 8.375 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.007458, allocations: 66.88 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.007467, allocations: 192 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.007474, allocations: 8.125 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.007478, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.007504, allocations: 11.98 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.007805, allocations: 360.1 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.007925, allocations: 47.03 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.007944, allocations: 15.81 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.007964, allocations: 11.92 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.007982, allocations: 33.39 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.007983, allocations: 0 / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004949/0.008478, allocations: 257.1 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.008503, allocations: 55.41 kB / 382.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.008858, allocations: 0.6079 MB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.008869, allocations: 25.7 kB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.009012, allocations: 302.7 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.00904, allocations: 39.67 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.009076, allocations: 35.38 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.009225, allocations: 0.5624 MB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.009245, allocations: 11.98 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.009264, allocations: 12 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.716e-05/0.009311, allocations: 43.61 kB / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.009312, allocations: 0 / 384.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001063/0.009418, allocations: 125.6 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.009428, allocations: 4 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.009432, allocations: 0 / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.009442, allocations: 0 / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.009502, allocations: 23.98 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.009505, allocations: 4 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.009536, allocations: 11.98 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.009543, allocations: 4 kB / 384.3 MB, free: 12.15 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 (11): * Single equations (assignments): 11 * 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.421e-05/0.009617, allocations: 164.4 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.009654, allocations: 51.72 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.009806, allocations: 133.5 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.009808, allocations: 0 / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.009809, allocations: 0.5625 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.009812, allocations: 0 / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.01015, allocations: 473.1 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01015, allocations: 4 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.0102, allocations: 27.92 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.0102, allocations: 0 / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.01021, allocations: 7.984 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01021, allocations: 0 / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01021, allocations: 0 / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.01035, allocations: 286.9 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.01038, allocations: 39.67 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.01039, allocations: 8.062 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.733e-05/0.01044, allocations: 8 kB / 385.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.01047, allocations: 19.86 kB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.01047, allocations: 0 / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.01067, allocations: 398.7 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01067, allocations: 0 / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.01085, allocations: 39.92 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008286/0.01168, allocations: 424 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.583e-05/0.01177, allocations: 59.59 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01178, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.01181, allocations: 39.55 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.01204, allocations: 34.52 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.01263, allocations: 0.6401 MB / 387.1 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.866e-05/0.01271, allocations: 131.2 kB / 387.3 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.01275, allocations: 20.47 kB / 387.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.01281, allocations: 86.19 kB / 387.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01281, allocations: 0 / 387.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of Templates: time 0.004068/0.01688, allocations: 1.988 MB / 389.4 MB, free: 7.133 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.944918841123581]