Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002398, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000779/0.000779, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.00192, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9432/0.9432, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1748/1.118, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.1378/0.1378, allocations: 32.8 MB / 272 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02142/0.1592, allocations: 12.54 MB / 284.5 MB, free: 9.703 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 285.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.952e-05, allocations: 2.312 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002524/0.002544, allocations: 1.788 MB / 287.7 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003556, allocations: 0.8882 MB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.003624, allocations: 0 / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.003813, allocations: 27.78 kB / 288.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.003964, allocations: 67.58 kB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.004195, allocations: 115.5 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.004353, allocations: 95.69 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.004439, allocations: 12.17 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.00456, allocations: 75.78 kB / 289 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.004643, allocations: 23.89 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.004661, allocations: 4 kB / 289 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.00475, allocations: 43.92 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.004804, allocations: 15.94 kB / 289.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.004834, allocations: 15.94 kB / 289.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.005, allocations: 99.59 kB / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.005013, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005014, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.005026, allocations: 0 / 289.2 MB, free: 5.031 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.0004484/0.005474, allocations: 327.9 kB / 289.5 MB, free: 4.688 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.005505, allocations: 8.031 kB / 289.5 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.005535, allocations: 8.938 kB / 289.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.005682, allocations: 152.6 kB / 289.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.005696, allocations: 4.312 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.005718, allocations: 4.375 kB / 289.7 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.925e-05/0.005818, allocations: 65.77 kB / 289.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.005827, allocations: 3.938 kB / 289.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.005836, allocations: 3.984 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.005842, allocations: 4 kB / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.005865, allocations: 7.984 kB / 289.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.006052, allocations: 162 kB / 289.9 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.591e-05/0.006137, allocations: 97.28 kB / 290 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.006155, allocations: 8.859 kB / 290 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.006164, allocations: 0 / 290 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.926e-05/0.006254, allocations: 74.14 kB / 290.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.006254, allocations: 0 / 290.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000269/0.006523, allocations: 109.5 kB / 290.2 MB, free: 3.906 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.006549, allocations: 55.41 kB / 290.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.006651, allocations: 164.3 kB / 290.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.006666, allocations: 25.7 kB / 290.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.006696, allocations: 92.11 kB / 290.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.006725, allocations: 27.78 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.006756, allocations: 25.7 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.006841, allocations: 326.8 kB / 290.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.006857, allocations: 14.83 kB / 290.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.006879, allocations: 29.58 kB / 291 MB, free: 3.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.00692, allocations: 40.52 kB / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006921, allocations: 0 / 291 MB, free: 3.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.218e-05/0.006993, allocations: 80.44 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.007008, allocations: 4 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007012, allocations: 0 / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.007026, allocations: 0 / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.007101, allocations: 19.98 kB / 291.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.007106, allocations: 4.031 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.986e-05/0.007136, allocations: 4 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.007142, allocations: 0 / 291.1 MB, free: 2.938 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 7.692e-05/0.007218, allocations: 120.6 kB / 291.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.007233, allocations: 15.92 kB / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.007335, allocations: 74.39 kB / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.007338, allocations: 3.984 kB / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.00734, allocations: 0 / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.007343, allocations: 0 / 291.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.007556, allocations: 299.4 kB / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007558, allocations: 0 / 291.6 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.007585, allocations: 8 kB / 291.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.007595, allocations: 11.94 kB / 291.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.007598, allocations: 4.375 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.007604, allocations: 4 kB / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007607, allocations: 4 kB / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007607, allocations: 0 / 291.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.007719, allocations: 215 kB / 291.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.007737, allocations: 8 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.76e-05/0.007774, allocations: 3.984 kB / 291.9 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.007797, allocations: 8.031 kB / 291.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.007809, allocations: 7.984 kB / 291.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.877e-05/0.007848, allocations: 45.41 kB / 291.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007848, allocations: 0 / 291.9 MB, free: 2.055 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000145/0.007993, allocations: 27.92 kB / 291.9 MB, free: 2.027 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.001346/0.009339, allocations: 0.6467 MB / 292.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.009441, allocations: 48.77 kB / 292.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.009448, allocations: 0 / 292.6 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.009488, allocations: 36.77 kB / 292.7 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.009726, allocations: 176.5 kB / 292.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.01016, allocations: 219.7 kB / 293.1 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.263e-05/0.0102, allocations: 75.33 kB / 293.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.265e-05/0.01023, allocations: 8.5 kB / 293.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.0103, allocations: 71.34 kB / 293.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0103, allocations: 0 / 293.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of Templates: time 0.003587/0.01389, allocations: 2.028 MB / 295.2 MB, free: 15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.938906288705766]