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.001885/0.001885, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001784/0.001784, allocations: 211.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2503/0.2503, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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.1.",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.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 59.91 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4329, allocations: 66.03 MB / 0.5619 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003583/0.4365, allocations: 1.671 MB / 0.5635 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.4385, allocations: 0.952 MB / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.4386, allocations: 0 / 0.5644 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.4389, allocations: 59.73 kB / 0.5645 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.4393, allocations: 115.5 kB / 0.5646 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.4395, allocations: 67.75 kB / 0.5647 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.4397, allocations: 111.6 kB / 0.5648 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.4398, allocations: 8.219 kB / 0.5648 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.839e-05/0.4399, allocations: 43.8 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.44, allocations: 51.81 kB / 0.5649 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.4401, allocations: 0 / 0.5649 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.4402, allocations: 35.98 kB / 0.5649 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.137e-05/0.4402, allocations: 23.84 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.4403, allocations: 27.81 kB / 0.565 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.4405, allocations: 114 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4405, allocations: 0 / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4405, allocations: 0 / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4405, allocations: 0 / 0.5651 GB, free: 0.8984 MB / 398.1 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.0007357/0.4413, allocations: 337.6 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4413, allocations: 12.03 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.4414, allocations: 16.83 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.4417, allocations: 143.1 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4417, allocations: 384 / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.4417, allocations: 8.125 kB / 0.5656 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4419, allocations: 57.61 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4419, allocations: 0 / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4419, allocations: 0 / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4419, allocations: 0 / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.442, allocations: 19.98 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.4423, allocations: 129.3 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.4425, allocations: 54.61 kB / 0.5658 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.4425, allocations: 16.86 kB / 0.5658 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.4425, allocations: 8 kB / 0.5658 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003182/0.4429, allocations: 71.27 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.4429, allocations: 3.938 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003594/0.4432, allocations: 97.61 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.4433, allocations: 55.41 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.4435, allocations: 198.3 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.4435, allocations: 25.7 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.4436, allocations: 104.1 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.4437, allocations: 11.91 kB / 0.5664 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.4437, allocations: 25.64 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4439, allocations: 326.8 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.801e-05/0.444, allocations: 12 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.4441, allocations: 33.7 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4442, allocations: 49.95 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4442, allocations: 3.938 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001689/0.4443, allocations: 85.47 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4444, allocations: 8 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4444, allocations: 3.984 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4444, allocations: 4.031 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.4445, allocations: 8 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4445, allocations: 4.156 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/0.4445, allocations: 7.938 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.4445, allocations: 4 kB / 0.5669 GB, free: 14.81 MB / 414.1 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 0.0001367/0.4447, allocations: 128.4 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.4447, allocations: 11.89 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.445, allocations: 102.7 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.445, allocations: 0 / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.445, allocations: 8 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.445, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.4451, allocations: 129.2 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4451, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.4452, allocations: 4 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.4452, allocations: 7.922 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.4452, allocations: 3.984 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4452, allocations: 4 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4452, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.4455, allocations: 117 kB / 0.5674 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.4455, allocations: 16.03 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.4456, allocations: 8 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.4456, allocations: 4 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4456, allocations: 3.984 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.4457, allocations: 8 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002425/0.4459, allocations: 156.2 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4459, allocations: 0 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.4461, allocations: 15.94 kB / 0.5676 GB, free: 14.02 MB / 414.1 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.001839/0.448, allocations: 444.2 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.4482, allocations: 51.91 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4482, allocations: 0 / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.4482, allocations: 20.11 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.4485, allocations: 32.11 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.4491, allocations: 213.8 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.4492, allocations: 89.31 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.4492, allocations: 20.41 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.4493, allocations: 11.44 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4493, allocations: 0 / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of Templates: time 0.005651/0.4549, allocations: 1.689 MB / 0.5701 GB, free: 11.63 MB / 414.1 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=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.375336220997269]