Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001087/0.001087, allocations: 80.92 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.001634/0.001634, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.9449/0.9449, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2444/0.2444, allocations: 34.25 MB / 296.1 MB, free: 0.6875 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271e-05/1.385e-05, allocations: 7.953 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002037/0.002051, allocations: 1.763 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.003608, allocations: 1.002 MB / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.003693, allocations: 0 / 328.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002888/0.003982, allocations: 43.7 kB / 328.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.004294, allocations: 99.47 kB / 328.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.004503, allocations: 87.59 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.004671, allocations: 95.7 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.173e-05/0.004753, allocations: 7.984 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.004858, allocations: 59.77 kB / 328.5 MB, free: 4.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.004931, allocations: 27.91 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.004947, allocations: 8 kB / 328.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.005039, allocations: 43.92 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.005091, allocations: 23.92 kB / 328.6 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.005129, allocations: 24.36 kB / 328.6 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.005316, allocations: 95.66 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.005322, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005323, allocations: 0 / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005327, allocations: 0 / 328.7 MB, free: 4.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004139/0.005741, allocations: 325.5 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.005777, allocations: 8.031 kB / 329 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.005814, allocations: 8.922 kB / 329 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.006001, allocations: 155.4 kB / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.006018, allocations: 384 / 329.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.006043, allocations: 12.31 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.006172, allocations: 61.77 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.006186, allocations: 7.922 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.006195, allocations: 4 kB / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.006202, allocations: 0 / 329.3 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.186e-05/0.006233, allocations: 11.92 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.006487, allocations: 170 kB / 329.5 MB, free: 3.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.006604, allocations: 85.3 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.562e-05/0.00663, allocations: 8.859 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.006643, allocations: 4 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.006747, allocations: 66.14 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.006749, allocations: 3.938 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003444/0.007093, allocations: 109.6 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.007136, allocations: 59.34 kB / 329.8 MB, free: 3.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.007281, allocations: 173.3 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.007297, allocations: 25.7 kB / 330 MB, free: 2.824 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.007337, allocations: 104.1 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.007366, allocations: 27.78 kB / 330.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.007407, allocations: 25.7 kB / 330.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.007494, allocations: 322.8 kB / 330.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.762e-05/0.007522, allocations: 14.81 kB / 330.5 MB, free: 2.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-05/0.00755, allocations: 21.7 kB / 330.5 MB, free: 2.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.007608, allocations: 44.47 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.007609, allocations: 0 / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.007719, allocations: 76.42 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.007732, allocations: 12.02 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.007737, allocations: 0 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.007751, allocations: 0 / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.007827, allocations: 15.94 kB / 330.6 MB, free: 2.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.00783, allocations: 4 kB / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.007866, allocations: 0 / 330.6 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.007876, allocations: 8.359 kB / 330.6 MB, free: 2.121 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 (10): * Single equations (assignments): 10 * 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.131e-05/0.007957, allocations: 116.7 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.007977, allocations: 7.938 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.008116, allocations: 79.06 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.008119, allocations: 8 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.008122, allocations: 7.938 kB / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.008128, allocations: 0 / 330.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.008425, allocations: 291.5 kB / 331.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008427, allocations: 4 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/0.008467, allocations: 15.98 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.00847, allocations: 0 / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.008479, allocations: 0 / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.008483, allocations: 4 kB / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008484, allocations: 80 / 331.2 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.008638, allocations: 219 kB / 331.4 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.008657, allocations: 11.94 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.00868, allocations: 4 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.008753, allocations: 4 kB / 331.4 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.008786, allocations: 7.984 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.0088, allocations: 0 / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.008868, allocations: 51.64 kB / 331.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008868, allocations: 0 / 331.5 MB, free: 1.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002701/0.009138, allocations: 27.94 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001787/0.01093, allocations: 0.5819 MB / 332.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.01104, allocations: 40.77 kB / 332.1 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.01104, allocations: 4 kB / 332.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.887e-05/0.01108, allocations: 20.92 kB / 332.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01133, allocations: 39.91 kB / 332.2 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.01168, allocations: 219.6 kB / 332.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.01173, allocations: 67.34 kB / 332.4 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.8e-05/0.01178, allocations: 17.27 kB / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.01186, allocations: 71.36 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01186, allocations: 0 / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of Templates: time 0.004492/0.01635, allocations: 2.018 MB / 334.6 MB, free: 14.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.901805453002453]