Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001748/0.001748, allocations: 112.5 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.002296/0.002296, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] 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.2683/0.2683, allocations: 44.92 MB / 359.6 MB, free: 6.402 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00282/0.00282, allocations: 64.19 kB / 0.4944 GB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2921, allocations: 65.47 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003232/0.2953, allocations: 1.765 MB / 0.56 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.2972, allocations: 1.053 MB / 0.5611 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.2972, allocations: 4 kB / 0.5611 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.2975, allocations: 51.75 kB / 0.5611 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.2978, allocations: 99.55 kB / 0.5612 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2981, allocations: 79.72 kB / 0.5613 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.2983, allocations: 135.6 kB / 0.5614 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2984, allocations: 11.98 kB / 0.5614 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2985, allocations: 51.78 kB / 0.5615 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.2986, allocations: 59.75 kB / 0.5615 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2986, allocations: 4 kB / 0.5615 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2988, allocations: 67.91 kB / 0.5616 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.2988, allocations: 31.91 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.2989, allocations: 39.69 kB / 0.5617 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.2992, allocations: 149.8 kB / 0.5618 GB, free: 4.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2992, allocations: 3.938 kB / 0.5618 GB, free: 4.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2992, allocations: 0 / 0.5618 GB, free: 4.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2992, allocations: 0 / 0.5618 GB, free: 4.098 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005939/0.2998, allocations: 369.4 kB / 0.5622 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2998, allocations: 15.97 kB / 0.5622 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.2998, allocations: 16.84 kB / 0.5622 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.3001, allocations: 166.3 kB / 0.5624 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3002, allocations: 4.375 kB / 0.5624 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.3002, allocations: 16.11 kB / 0.5624 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3004, allocations: 73.66 kB / 0.5625 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3004, allocations: 3.938 kB / 0.5625 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3004, allocations: 0 / 0.5625 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3004, allocations: 3.938 kB / 0.5625 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3005, allocations: 43.95 kB / 0.5625 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.301, allocations: 291.9 kB / 0.5628 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.3013, allocations: 78.58 kB / 0.5629 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.3013, allocations: 28.84 kB / 0.5629 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3014, allocations: 0 / 0.5629 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.3015, allocations: 91.38 kB / 0.563 GB, free: 2.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3015, allocations: 0 / 0.563 GB, free: 2.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008852/0.3024, allocations: 305.8 kB / 0.5633 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3025, allocations: 55.34 kB / 0.5633 GB, free: 2.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.3027, allocations: 195.2 kB / 0.5635 GB, free: 2.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.3027, allocations: 33.7 kB / 0.5635 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.3028, allocations: 104.4 kB / 0.5636 GB, free: 2.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.3028, allocations: 47.64 kB / 0.5637 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.3029, allocations: 29.7 kB / 0.5637 GB, free: 1.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.303, allocations: 326.8 kB / 0.564 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.3031, allocations: 39.92 kB / 0.5641 GB, free: 1.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3032, allocations: 61.62 kB / 0.5641 GB, free: 1.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.3034, allocations: 93.7 kB / 0.5642 GB, free: 1.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3034, allocations: 4 kB / 0.5642 GB, free: 1.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002867/0.3037, allocations: 153.5 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3037, allocations: 8 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3037, allocations: 0 / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3037, allocations: 0 / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.3038, allocations: 23.98 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3038, allocations: 3.938 kB / 0.5644 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.3039, allocations: 4 kB / 0.5644 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3039, allocations: 8 kB / 0.5644 GB, free: 1.254 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001257/0.304, allocations: 137.8 kB / 0.5645 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.3041, allocations: 11.91 kB / 0.5646 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003671/0.3044, allocations: 178.3 kB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3044, allocations: 0 / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3044, allocations: 7.875 kB / 0.5647 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3044, allocations: 4 kB / 0.5647 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006314/0.3051, allocations: 467 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3051, allocations: 0 / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.07e-05/0.3051, allocations: 19.98 kB / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.3051, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3051, allocations: 8 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3051, allocations: 0 / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3051, allocations: 3.984 kB / 0.5652 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.3055, allocations: 261.1 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.3055, allocations: 11.95 kB / 0.5655 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.3056, allocations: 11.98 kB / 0.5655 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.3056, allocations: 8 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.3057, allocations: 11.97 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3057, allocations: 4 kB / 0.5655 GB, free: 40 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.3059, allocations: 151.5 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3059, allocations: 4 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000293/0.3061, allocations: 39.88 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002017/0.3082, allocations: 0.5022 MB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.3084, allocations: 91.89 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3084, allocations: 3.938 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.3085, allocations: 43.92 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3089, allocations: 36.09 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.3095, allocations: 302.3 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.3099, allocations: 0.7123 MB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.31, allocations: 27.42 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.31, allocations: 4 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of Templates: time 0.004659/0.3146, allocations: 2.409 MB / 0.5697 GB, free: 11.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.225645252969116]