Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.001097/0.001097, allocations: 83.58 kB / 21.19 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.001834/0.001834, allocations: 161 kB / 24.56 MB, free: 16 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 0.9755/0.9755, allocations: 177.1 MB / 205 MB, free: 5.602 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.273/0.273, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.791e-05, allocations: 2.312 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002316/0.002334, allocations: 1.762 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003629, allocations: 1.016 MB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.003707, allocations: 4 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.004013, allocations: 39.7 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.004319, allocations: 99.52 kB / 381 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.004515, allocations: 83.61 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.00468, allocations: 103.6 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.004783, allocations: 11.98 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.004872, allocations: 59.77 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.004943, allocations: 23.92 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.00496, allocations: 8 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.005044, allocations: 47.91 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.005094, allocations: 19.92 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.005133, allocations: 19.92 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.005302, allocations: 107.6 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005305, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005305, allocations: 0 / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.005309, allocations: 0 / 381.5 MB, free: 15.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004216/0.005731, allocations: 455.8 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.005763, allocations: 8.031 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.005807, allocations: 20.89 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005962, allocations: 152.9 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.005977, allocations: 384 / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.005997, allocations: 4.375 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.006106, allocations: 62.94 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.006115, allocations: 3.938 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.006124, allocations: 3.984 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.00613, allocations: 0 / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.006165, allocations: 19.92 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.006458, allocations: 291.8 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.006556, allocations: 51.17 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.006591, allocations: 27.61 kB / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.006603, allocations: 0 / 382.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.808e-05/0.006701, allocations: 68.98 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.006702, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003705/0.007073, allocations: 161.3 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.0071, allocations: 55.41 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.007233, allocations: 233.9 kB / 383.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007246, allocations: 29.7 kB / 383.1 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.007306, allocations: 162.8 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.007333, allocations: 27.78 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.007365, allocations: 27.38 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007482, allocations: 0.4962 MB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.007508, allocations: 11.98 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.007543, allocations: 35.36 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/0.0076, allocations: 51.25 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007601, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001069/0.007708, allocations: 93.62 kB / 384 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.007719, allocations: 8.031 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.007726, allocations: 4 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.00774, allocations: 3.984 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.007808, allocations: 16 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.007813, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.00784, allocations: 7.953 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.007846, allocations: 4 kB / 384.1 MB, free: 12.36 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 (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.247e-05/0.007919, allocations: 164.5 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.007935, allocations: 15.89 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.008075, allocations: 107.1 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008077, allocations: 0 / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.00808, allocations: 0 / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.008084, allocations: 4 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.008358, allocations: 396.9 kB / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.008359, allocations: 0 / 384.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.008384, allocations: 15.92 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008387, allocations: 4 kB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.008395, allocations: 3.938 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.008396, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.008396, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.008535, allocations: 259.5 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.008546, allocations: 15.91 kB / 385 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.008561, allocations: 4 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.241e-05/0.008603, allocations: 0 / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.008635, allocations: 8.359 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.008648, allocations: 8 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.684e-05/0.008725, allocations: 180.1 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008725, allocations: 0 / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.008894, allocations: 27.94 kB / 385.3 MB, free: 11.09 MB / 362.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.001045/0.009939, allocations: 441 kB / 385.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.01007, allocations: 51.59 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01007, allocations: 0 / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.01011, allocations: 39.61 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.01034, allocations: 35.88 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.01069, allocations: 225.9 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.045e-05/0.01073, allocations: 67.33 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.39e-05/0.01076, allocations: 17.11 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.01079, allocations: 24.48 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01079, allocations: 0 / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of Templates: time 0.003539/0.01433, allocations: 1.863 MB / 388 MB, free: 8.461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.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.3734346670098603]