Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.0009208/0.0009208, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001045/0.001045, allocations: 169.1 kB / 24.91 MB, free: 9.211 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.9805/0.9805, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2626/0.2626, allocations: 34.27 MB / 296.1 MB, free: 0.7266 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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.756e-05, allocations: 9.797 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003322/0.00335, allocations: 1.775 MB / 327.1 MB, free: 5.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.005055, allocations: 1.01 MB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.005157, allocations: 0 / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.005509, allocations: 95.61 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.005929, allocations: 119.4 kB / 328.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.006215, allocations: 87.59 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.006439, allocations: 127.5 kB / 328.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.006538, allocations: 11.98 kB / 328.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.006696, allocations: 71.8 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.006827, allocations: 51.89 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.006848, allocations: 8 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.006991, allocations: 63.89 kB / 328.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.007055, allocations: 31.86 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.0071, allocations: 20.42 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.007344, allocations: 123.5 kB / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.007348, allocations: 0 / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007349, allocations: 0 / 328.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.007353, allocations: 0 / 328.9 MB, free: 4.008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005034/0.007856, allocations: 337.4 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.007895, allocations: 16.02 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.007942, allocations: 8.938 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.008146, allocations: 158.3 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.008165, allocations: 4.359 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.008188, allocations: 4.375 kB / 329.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.008325, allocations: 65.77 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.00834, allocations: 7.922 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.008348, allocations: 0 / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.008354, allocations: 0 / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.008391, allocations: 11.98 kB / 329.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.008691, allocations: 186 kB / 329.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.008874, allocations: 93.23 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.008901, allocations: 20.78 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.008915, allocations: 0 / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.009023, allocations: 70.14 kB / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.009025, allocations: 0 / 329.9 MB, free: 2.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.00054/0.009565, allocations: 170 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/0.009605, allocations: 55.41 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.009771, allocations: 197.6 kB / 330.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.00979, allocations: 29.7 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.009834, allocations: 100.1 kB / 330.4 MB, free: 2.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.009874, allocations: 39.67 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.009919, allocations: 21.72 kB / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.01002, allocations: 330.8 kB / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.673e-05/0.01004, allocations: 10.83 kB / 330.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.01009, allocations: 33.69 kB / 330.9 MB, free: 1.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.01016, allocations: 54.36 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01016, allocations: 4 kB / 330.9 MB, free: 1.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001289/0.01029, allocations: 80.44 kB / 331 MB, free: 1.762 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.01031, allocations: 8 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01031, allocations: 0 / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01033, allocations: 0 / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.742e-05/0.01042, allocations: 27.92 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.01042, allocations: 240 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.01046, allocations: 4 kB / 331 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.01047, allocations: 0 / 331 MB, free: 1.723 MB / 298.7 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 (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 8.956e-05/0.01056, allocations: 128.6 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.01059, allocations: 15.98 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.01076, allocations: 99.69 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01077, allocations: 0 / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01077, allocations: 3.938 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.01077, allocations: 0 / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.01111, allocations: 328.2 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.01112, allocations: 0 / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.01117, allocations: 19.98 kB / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01117, allocations: 0 / 331.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01118, allocations: 8.062 kB / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01118, allocations: 0 / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01118, allocations: 0 / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.01135, allocations: 234.1 kB / 331.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.01137, allocations: 15.91 kB / 331.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.0114, allocations: 3.984 kB / 331.9 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.01147, allocations: 4 kB / 331.9 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.0115, allocations: 11.98 kB / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.01152, allocations: 7.938 kB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.382e-05/0.01159, allocations: 60.22 kB / 331.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01159, allocations: 4 kB / 332 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.01186, allocations: 35.92 kB / 332 MB, free: 0.6836 MB / 298.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: 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 (12): * Single equations (assignments): 10 * 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.001862/0.01373, allocations: 0.6492 MB / 332.6 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.01384, allocations: 64.69 kB / 332.7 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01384, allocations: 0 / 332.7 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.58e-05/0.01388, allocations: 28.8 kB / 332.7 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.01407, allocations: 43.08 kB / 332.8 MB, free: 244 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.01445, allocations: 263.7 kB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.01449, allocations: 71.33 kB / 333.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.977e-05/0.01453, allocations: 20.62 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.0146, allocations: 71.36 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0146, allocations: 0 / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of Templates: time 0.003952/0.01855, allocations: 2.3 MB / 335.5 MB, free: 13.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.951412448193878]