Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.001136/0.001136, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001503/0.001503, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 1.027/1.027, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.15/0.15, allocations: 32.8 MB / 295.4 MB, free: 15.35 MB / 282.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.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.528e-05, allocations: 6.25 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.001874/0.00189, allocations: 1.7 MB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.002978, allocations: 0.9814 MB / 380 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.003062, allocations: 0 / 380 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.003367, allocations: 59.69 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.003634, allocations: 99.52 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.003782, allocations: 79.61 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.003921, allocations: 99.62 kB / 380.4 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.003968, allocations: 4.234 kB / 380.4 MB, free: 22.45 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.004049, allocations: 51.84 kB / 380.4 MB, free: 22.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.912e-05/0.004128, allocations: 27.89 kB / 380.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.004142, allocations: 4 kB / 380.5 MB, free: 22.37 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.676e-05/0.004209, allocations: 35.94 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.093e-05/0.00427, allocations: 27.86 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.004307, allocations: 31.84 kB / 380.5 MB, free: 22.28 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.004449, allocations: 95.66 kB / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.00445, allocations: 0 / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004451, allocations: 0 / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.004455, allocations: 0 / 380.6 MB, free: 22.18 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003518/0.004807, allocations: 471.6 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.004845, allocations: 11.98 kB / 381.1 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.004877, allocations: 16.84 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.004997, allocations: 169.2 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.005013, allocations: 8.359 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.00502, allocations: 384 / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.005106, allocations: 54.94 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.005115, allocations: 3.938 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.005123, allocations: 4 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.00513, allocations: 4 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.005153, allocations: 11.92 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.005257, allocations: 121.2 kB / 381.5 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.091e-05/0.005338, allocations: 51.11 kB / 381.5 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.005356, allocations: 11.69 kB / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.005366, allocations: 0 / 381.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.414e-05/0.00544, allocations: 65.05 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.005441, allocations: 0 / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001415/0.005582, allocations: 85.45 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.005607, allocations: 55.41 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.005726, allocations: 274.5 kB / 382 MB, free: 20.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005736, allocations: 25.7 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.005788, allocations: 166.8 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.005817, allocations: 23.89 kB / 382.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.005843, allocations: 23.36 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.005904, allocations: 0.504 MB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.005916, allocations: 7.984 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.005935, allocations: 23.38 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.005969, allocations: 39.3 kB / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005971, allocations: 0 / 382.8 MB, free: 19.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.256e-05/0.006033, allocations: 69.55 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.006042, allocations: 12.02 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.006047, allocations: 4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.006057, allocations: 3.938 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.006105, allocations: 8 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.006109, allocations: 4 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.006138, allocations: 0 / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.006144, allocations: 4 kB / 382.9 MB, free: 19.66 MB / 314.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 (7): * Single equations (assignments): 7 * 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 6.061e-05/0.006204, allocations: 164.5 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.006217, allocations: 15.91 kB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.524e-05/0.006313, allocations: 95.02 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.006316, allocations: 7.938 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.006317, allocations: 0 / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.006321, allocations: 0 / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.749e-05/0.006388, allocations: 129.2 kB / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006389, allocations: 0 / 383.3 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.006403, allocations: 4 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006404, allocations: 0 / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.006409, allocations: 0 / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.006409, allocations: 0 / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.00641, allocations: 4 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.73e-05/0.006478, allocations: 120.2 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.006491, allocations: 23.83 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.006505, allocations: 4 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.006524, allocations: 7.984 kB / 383.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.006547, allocations: 4 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.006556, allocations: 3.938 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.291e-05/0.006609, allocations: 184.5 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006609, allocations: 0 / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.006745, allocations: 23.98 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007579/0.007503, allocations: 380 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.574e-05/0.007589, allocations: 39.61 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.61e-07/0.00759, allocations: 0 / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.007615, allocations: 27.66 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.007788, allocations: 42.81 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.008044, allocations: 232.5 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.493e-05/0.008069, allocations: 79.12 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.469e-05/0.008094, allocations: 8.5 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.008139, allocations: 86.19 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00814, allocations: 0 / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of Templates: time 0.00298/0.01112, allocations: 1.843 MB / 386.4 MB, free: 16.22 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.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: 3.253331797197461]