Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001306/0.001306, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00137/0.00137, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.081/1.081, allocations: 177.1 MB / 205 MB, free: 5.621 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.2833/0.2833, allocations: 34.26 MB / 295.7 MB, free: 0.7734 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 378.1 MB, free: 2.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.534e-05, allocations: 6.25 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001874/0.001889, allocations: 1.719 MB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.002922, allocations: 0.9975 MB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.002979, allocations: 0 / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.003264, allocations: 63.67 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.003563, allocations: 107.5 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.00372, allocations: 79.66 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.003886, allocations: 107.6 kB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.003923, allocations: 4.234 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.004012, allocations: 63.81 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.966e-05/0.004101, allocations: 43.88 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.004117, allocations: 4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.182e-05/0.004179, allocations: 31.94 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.805e-05/0.004227, allocations: 23.86 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.004261, allocations: 19.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.004397, allocations: 83.67 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004399, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.004399, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.004402, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.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.000634/0.005036, allocations: 443.9 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.005067, allocations: 12.03 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.005106, allocations: 12.84 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.005254, allocations: 157.1 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.005269, allocations: 4.375 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.005278, allocations: 4.312 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.005372, allocations: 54.94 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.005379, allocations: 3.938 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.005387, allocations: 0 / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.005393, allocations: 4 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.005421, allocations: 15.98 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.005542, allocations: 136.7 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.00563, allocations: 55.03 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.005654, allocations: 15.69 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.005663, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.141e-05/0.005744, allocations: 65.05 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.005745, allocations: 0 / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001557/0.005901, allocations: 93.45 kB / 382.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.005926, allocations: 59.34 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.006042, allocations: 234.4 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.006053, allocations: 25.7 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.0061, allocations: 154.9 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.006127, allocations: 15.84 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.006156, allocations: 23.38 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.006253, allocations: 0.4962 MB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.006271, allocations: 7.984 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.006297, allocations: 27.38 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/0.006343, allocations: 43.61 kB / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006345, allocations: 0 / 383.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.406e-05/0.006419, allocations: 73.58 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.006429, allocations: 5.719 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.006434, allocations: 3.938 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006446, allocations: 4 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.253e-05/0.006498, allocations: 15.94 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.006502, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.845e-05/0.006531, allocations: 11.94 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.006535, allocations: 0 / 383.7 MB, free: 12.75 MB / 362.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.011e-05/0.006595, allocations: 164 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.006609, allocations: 15.95 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.006717, allocations: 82.92 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.006719, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.006722, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006724, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.003e-05/0.006804, allocations: 148.6 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.006806, allocations: 3.984 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.006821, allocations: 7.938 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006823, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006829, allocations: 0 / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006831, allocations: 7.938 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006832, allocations: 3.984 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.713e-05/0.006919, allocations: 120.5 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.00693, allocations: 8.016 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.006945, allocations: 4 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.006964, allocations: 11.88 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.006991, allocations: 3.984 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.007002, allocations: 8 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.037e-05/0.007082, allocations: 164.2 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007083, allocations: 0 / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.007221, allocations: 27.92 kB / 384.5 MB, free: 11.92 MB / 362.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.0007599/0.007981, allocations: 379.1 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.276e-05/0.008073, allocations: 39.67 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008074, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.008105, allocations: 27.62 kB / 384.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.00827, allocations: 23.97 kB / 384.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.008541, allocations: 198.1 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.05e-05/0.008572, allocations: 63.34 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.79e-05/0.0086, allocations: 12.48 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.008625, allocations: 20.5 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008626, allocations: 4.062 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of Templates: time 0.003066/0.01169, allocations: 1.746 MB / 387 MB, free: 9.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.2223154813982546]