Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.001221/0.001221, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001953/0.003174, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001108/0.001108, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002606, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9157/0.9157, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1566/1.072, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1366/0.1366, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02244/0.1591, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 267.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.242e-05, allocations: 6.25 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002248/0.002271, allocations: 1.774 MB / 269.2 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.003246, allocations: 0.8155 MB / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.003322, allocations: 3.938 kB / 270.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.003536, allocations: 35.72 kB / 270.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.003697, allocations: 63.62 kB / 270.2 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.003916, allocations: 79.7 kB / 270.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.004073, allocations: 103.6 kB / 270.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.169e-05/0.004154, allocations: 12.22 kB / 270.4 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.004267, allocations: 71.89 kB / 270.4 MB, free: 15.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.004348, allocations: 27.84 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.004366, allocations: 7.938 kB / 270.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.574e-05/0.004452, allocations: 43.92 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.004496, allocations: 19.92 kB / 270.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.004528, allocations: 11.94 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.004683, allocations: 91.62 kB / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.004695, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004696, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.004705, allocations: 0 / 270.6 MB, free: 15.29 MB / 282.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.0004093/0.005114, allocations: 335.9 kB / 270.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.005153, allocations: 12.03 kB / 271 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.005193, allocations: 8.922 kB / 271 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.005363, allocations: 141.5 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.005383, allocations: 8.312 kB / 271.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.005405, allocations: 4.375 kB / 271.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.005523, allocations: 57.77 kB / 271.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.005534, allocations: 7.875 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.005546, allocations: 15.97 kB / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.005552, allocations: 0 / 271.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.005574, allocations: 8 kB / 271.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.005797, allocations: 169.9 kB / 271.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.005917, allocations: 85.28 kB / 271.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.413e-05/0.005941, allocations: 12.92 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.005956, allocations: 4 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.006074, allocations: 66.09 kB / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.006076, allocations: 0 / 271.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003773/0.006454, allocations: 117.5 kB / 271.7 MB, free: 14.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.006489, allocations: 63.39 kB / 271.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.006599, allocations: 156.3 kB / 271.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.006619, allocations: 33.69 kB / 271.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.006656, allocations: 92.12 kB / 272 MB, free: 13.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.006689, allocations: 31.78 kB / 272 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.006721, allocations: 13.72 kB / 272 MB, free: 13.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.006816, allocations: 330.8 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.006837, allocations: 10.83 kB / 272.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.006862, allocations: 21.7 kB / 272.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.006912, allocations: 48.52 kB / 272.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006914, allocations: 4 kB / 272.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.752e-05/0.007002, allocations: 72.38 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.007017, allocations: 4 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.007022, allocations: 0 / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.007035, allocations: 3.984 kB / 272.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.007109, allocations: 16 kB / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.007112, allocations: 0 / 272.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.007146, allocations: 8 kB / 272.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.007158, allocations: 3.984 kB / 272.5 MB, free: 13.18 MB / 282.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.468e-05/0.007243, allocations: 124.6 kB / 272.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.00726, allocations: 11.94 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.00738, allocations: 78.5 kB / 272.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007382, allocations: 3.938 kB / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.007384, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.007388, allocations: 0 / 272.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.007624, allocations: 295.4 kB / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.007627, allocations: 0 / 273 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.00766, allocations: 11.98 kB / 273.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.007672, allocations: 11.91 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.007676, allocations: 8.031 kB / 273.1 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.007681, allocations: 3.938 kB / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007683, allocations: 0 / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.007685, allocations: 0 / 273.1 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.007805, allocations: 219.4 kB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.007821, allocations: 0 / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.007865, allocations: 15.94 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.007896, allocations: 3.984 kB / 273.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.00791, allocations: 4 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.663e-05/0.007957, allocations: 48.52 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007957, allocations: 4 kB / 273.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001568/0.008114, allocations: 20 kB / 273.4 MB, free: 12.27 MB / 282.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.00135/0.009464, allocations: 0.6321 MB / 274 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.009589, allocations: 52.7 kB / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.009598, allocations: 0 / 274.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.044e-05/0.009639, allocations: 28.84 kB / 274.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.009937, allocations: 176.3 kB / 274.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006496/0.01059, allocations: 226.5 kB / 274.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.01063, allocations: 63.34 kB / 274.6 MB, free: 11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.22e-05/0.01067, allocations: 17.14 kB / 274.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.01075, allocations: 71.36 kB / 274.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01075, allocations: 0 / 274.6 MB, free: 10.91 MB / 282.7 MB Notification: Performance of Templates: time 0.00378/0.01453, allocations: 2.037 MB / 276.7 MB, free: 8.867 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.829931969754398]