Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009565/0.0009565, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001054/0.001054, allocations: 169.3 kB / 24.91 MB, free: 9.184 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.9299/0.9299, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2475/0.2475, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.656e-05, allocations: 5.641 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002595/0.002621, allocations: 1.755 MB / 325.1 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.00457, allocations: 1.734 MB / 326.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.004635, allocations: 3.938 kB / 326.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.004869, allocations: 31.83 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.005157, allocations: 112.1 kB / 327 MB, free: 5.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.00531, allocations: 79.61 kB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.005455, allocations: 107.7 kB / 327.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.042e-05/0.005525, allocations: 13.3 kB / 327.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.005612, allocations: 59.84 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.005713, allocations: 35.83 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.005729, allocations: 4 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.00588, allocations: 103.8 kB / 327.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.005923, allocations: 19.92 kB / 327.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.005958, allocations: 23.91 kB / 327.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.006173, allocations: 163.5 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.006175, allocations: 3.938 kB / 327.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006176, allocations: 0 / 327.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.006179, allocations: 0 / 327.6 MB, free: 5.371 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.0003871/0.006566, allocations: 325.4 kB / 327.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.006597, allocations: 8.031 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.006632, allocations: 8.922 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.00679, allocations: 142.2 kB / 328 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.00681, allocations: 4.375 kB / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.006831, allocations: 4.359 kB / 328 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.006964, allocations: 116.5 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.006972, allocations: 0 / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.006981, allocations: 4 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.006986, allocations: 0 / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.007016, allocations: 14.81 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.007228, allocations: 170 kB / 328.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/0.007325, allocations: 93.16 kB / 328.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.007348, allocations: 12.8 kB / 328.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.007359, allocations: 4 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.314e-05/0.007442, allocations: 62.22 kB / 328.5 MB, free: 4.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.007443, allocations: 4 kB / 328.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002844/0.007728, allocations: 109.5 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.007766, allocations: 81.11 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.007884, allocations: 160.3 kB / 328.8 MB, free: 3.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.007898, allocations: 25.7 kB / 328.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.007932, allocations: 92.11 kB / 329 MB, free: 3.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.007959, allocations: 31.73 kB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.007997, allocations: 25.7 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.008076, allocations: 322.8 kB / 329.3 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.008095, allocations: 14.81 kB / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.008132, allocations: 56.22 kB / 329.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.264e-05/0.008185, allocations: 52.5 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.008186, allocations: 0 / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.928e-05/0.008275, allocations: 72.44 kB / 329.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.008286, allocations: 4 kB / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.00829, allocations: 0 / 329.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.008303, allocations: 4 kB / 329.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.008365, allocations: 16.05 kB / 329.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.008369, allocations: 4 kB / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.0084, allocations: 0 / 329.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.008407, allocations: 4 kB / 329.6 MB, free: 3.156 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 6.738e-05/0.008474, allocations: 128.5 kB / 329.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.00849, allocations: 8.359 kB / 329.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.008592, allocations: 74.39 kB / 329.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.008594, allocations: 4 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.008596, allocations: 0 / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.008601, allocations: 4 kB / 329.8 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.008848, allocations: 299.4 kB / 330.1 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.008851, allocations: 4 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.00888, allocations: 8 kB / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.008882, allocations: 0 / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.008888, allocations: 0 / 330.1 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.008891, allocations: 7.922 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.008893, allocations: 4 kB / 330.1 MB, free: 2.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.009135, allocations: 211 kB / 330.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.009151, allocations: 11.95 kB / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.009169, allocations: 0 / 330.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.009228, allocations: 12.02 kB / 330.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.009249, allocations: 4 kB / 330.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.009262, allocations: 7.984 kB / 330.3 MB, free: 2.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.009308, allocations: 43.52 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009308, allocations: 0 / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.009542, allocations: 51.86 kB / 330.4 MB, free: 2.227 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.001956/0.0115, allocations: 0.7013 MB / 331.1 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.838e-05/0.0116, allocations: 48.77 kB / 331.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.0116, allocations: 0 / 331.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.01164, allocations: 24.8 kB / 331.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.01185, allocations: 47.2 kB / 331.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.01215, allocations: 203.8 kB / 331.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.948e-05/0.01219, allocations: 67.34 kB / 331.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.01223, allocations: 16.97 kB / 331.5 MB, free: 1.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.657e-05/0.01232, allocations: 71.36 kB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01232, allocations: 0 / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of Templates: time 0.00463/0.01695, allocations: 2.778 MB / 334.4 MB, free: 14.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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: 2.981259388849139]