Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001345/0.001345, 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.001533/0.001533, 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.9883/0.9883, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.2491/0.2491, allocations: 32.8 MB / 294.6 MB, free: 1.188 MB / 266.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.587e-05, allocations: 3.672 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002288/0.002314, allocations: 1.757 MB / 325.1 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.003506, allocations: 1.005 MB / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.003572, allocations: 0 / 326.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.003824, allocations: 39.7 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.00409, allocations: 103.5 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.004245, allocations: 71.69 kB / 326.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.004391, allocations: 111.5 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.436e-05/0.004465, allocations: 5.375 kB / 326.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.004542, allocations: 59.88 kB / 326.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.004607, allocations: 27.86 kB / 326.5 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.00462, allocations: 7.938 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.004691, allocations: 43.92 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.004734, allocations: 27.91 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.00477, allocations: 19.92 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.004919, allocations: 91.66 kB / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004921, allocations: 0 / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.004921, allocations: 0 / 326.7 MB, free: 6.246 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.004925, allocations: 0 / 326.7 MB, free: 6.246 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.0003529/0.005278, allocations: 321.4 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.00532, allocations: 16.02 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.00535, allocations: 8.875 kB / 327 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.005488, allocations: 142.3 kB / 327.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.005504, allocations: 4.375 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.005521, allocations: 384 / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.498e-05/0.005615, allocations: 69.75 kB / 327.2 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.005624, allocations: 3.938 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.00563, allocations: 0 / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.005635, allocations: 0 / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.005656, allocations: 8 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.005834, allocations: 169.8 kB / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.005928, allocations: 89.34 kB / 327.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.005947, allocations: 12.86 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.005957, allocations: 0 / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.708e-05/0.006034, allocations: 74.14 kB / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.006035, allocations: 0 / 327.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000273/0.006308, allocations: 113.5 kB / 327.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.006339, allocations: 55.39 kB / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.00643, allocations: 170.1 kB / 327.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.006444, allocations: 33.64 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.006471, allocations: 92.12 kB / 328 MB, free: 4.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.006603, allocations: 35.72 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.006629, allocations: 17.72 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.828e-05/0.006697, allocations: 326.8 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.006713, allocations: 14.81 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.006733, allocations: 17.72 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.006776, allocations: 52.56 kB / 328.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006776, allocations: 4 kB / 328.5 MB, free: 4.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.855e-05/0.006845, allocations: 72.38 kB / 328.6 MB, free: 4.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.006854, allocations: 4 kB / 328.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.006858, allocations: 0 / 328.6 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.006872, allocations: 7.938 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.648e-05/0.006928, allocations: 15.94 kB / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.006931, allocations: 0 / 328.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.006957, allocations: 7.984 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.006963, allocations: 4 kB / 328.6 MB, free: 4.145 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 5.637e-05/0.007019, allocations: 116.7 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.007032, allocations: 15.95 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-05/0.00712, allocations: 71.08 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.007123, allocations: 4 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.007125, allocations: 0 / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.00713, allocations: 3.984 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.007389, allocations: 291.4 kB / 329.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.007392, allocations: 7.984 kB / 329.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.007412, allocations: 8 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007414, allocations: 0 / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.007419, allocations: 4.031 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.00742, allocations: 0 / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.007422, allocations: 4 kB / 329.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.963e-05/0.007511, allocations: 219 kB / 329.3 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.007523, allocations: 12.28 kB / 329.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007537, allocations: 0 / 329.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.007576, allocations: 12 kB / 329.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.007598, allocations: 3.984 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.007607, allocations: 4 kB / 329.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.486e-05/0.007642, allocations: 48.34 kB / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007642, allocations: 0 / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000141/0.007783, allocations: 31.94 kB / 329.4 MB, free: 3.234 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.001204/0.008987, allocations: 0.5745 MB / 330 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.633e-05/0.009063, allocations: 48.78 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.009065, allocations: 3.938 kB / 330.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.009091, allocations: 20.86 kB / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.009248, allocations: 38.67 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.009515, allocations: 227.9 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.009548, allocations: 63.34 kB / 330.4 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.009579, allocations: 13.41 kB / 330.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.009636, allocations: 71.36 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.009636, allocations: 4 kB / 330.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of Templates: time 0.003302/0.01294, allocations: 2.007 MB / 332.5 MB, free: 460 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.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.0236050011590123]