Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009212/0.0009212, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009616/0.0009616, allocations: 169.9 kB / 24.91 MB, free: 9.191 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.254/0.254, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.97e-05, allocations: 5.859 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002385/0.002415, allocations: 1.963 MB / 327.3 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.003722, allocations: 1.041 MB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.003835, allocations: 3.938 kB / 328.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.004127, allocations: 47.58 kB / 328.4 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.004435, allocations: 111.4 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.004656, allocations: 87.66 kB / 328.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.004853, allocations: 152 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004954, allocations: 26.44 kB / 328.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.005063, allocations: 75.81 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.469e-05/0.005148, allocations: 35.83 kB / 328.9 MB, free: 4.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.005165, allocations: 8 kB / 328.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.00525, allocations: 51.86 kB / 328.9 MB, free: 3.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.005309, allocations: 31.84 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.005349, allocations: 31.92 kB / 329 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.005538, allocations: 131.5 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00554, allocations: 0 / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005541, allocations: 0 / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.005544, allocations: 0 / 329.1 MB, free: 3.805 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004249/0.005969, allocations: 387 kB / 329.5 MB, free: 3.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.006, allocations: 8.031 kB / 329.5 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.006036, allocations: 16.92 kB / 329.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.006212, allocations: 170.3 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.006229, allocations: 4.375 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.00625, allocations: 12.33 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006403, allocations: 130 kB / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.006412, allocations: 3.938 kB / 329.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.006421, allocations: 4 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.006428, allocations: 4 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.006465, allocations: 25.5 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.006798, allocations: 374.1 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.006972, allocations: 113.2 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.006997, allocations: 16.86 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.007011, allocations: 0 / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.007129, allocations: 95.91 kB / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.00713, allocations: 0 / 330.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000147/0.007277, allocations: 77.59 kB / 330.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.007308, allocations: 59.39 kB / 330.6 MB, free: 2.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.007434, allocations: 185.6 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.007451, allocations: 33.7 kB / 330.8 MB, free: 1.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.007514, allocations: 108 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.007532, allocations: 23.84 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.007567, allocations: 29.69 kB / 330.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.007642, allocations: 330.7 kB / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.019e-05/0.007662, allocations: 14.81 kB / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.007717, allocations: 48.23 kB / 331.3 MB, free: 1.367 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.339e-05/0.00778, allocations: 73.84 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007782, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.638e-05/0.007879, allocations: 88.73 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.007894, allocations: 8 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007899, allocations: 0 / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.00791, allocations: 3.938 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.007976, allocations: 27.92 kB / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.007979, allocations: 0 / 331.5 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.008012, allocations: 12.02 kB / 331.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.008021, allocations: 12 kB / 331.5 MB, free: 1.117 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.166e-05/0.008093, allocations: 124.6 kB / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.008107, allocations: 11.98 kB / 331.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.008224, allocations: 79.11 kB / 331.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.008227, allocations: 4 kB / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.008229, allocations: 0 / 331.8 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.008234, allocations: 3.984 kB / 331.8 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.05e-05/0.008324, allocations: 101.8 kB / 331.9 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.008327, allocations: 3.938 kB / 331.9 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.469e-05/0.008382, allocations: 19.98 kB / 331.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008384, allocations: 0 / 331.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.008394, allocations: 4 kB / 331.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.008395, allocations: 0 / 331.9 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.008397, allocations: 3.938 kB / 331.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.008528, allocations: 110.7 kB / 332 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.816e-05/0.008546, allocations: 19.78 kB / 332 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.008561, allocations: 4 kB / 332 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.603e-05/0.008587, allocations: 4 kB / 332 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.008618, allocations: 11.92 kB / 332 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.008631, allocations: 12.02 kB / 332.1 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.008679, allocations: 56.22 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008679, allocations: 0 / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.008823, allocations: 24 kB / 332.1 MB, free: 480 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001197/0.01002, allocations: 0.4938 MB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.01013, allocations: 60.69 kB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.01013, allocations: 4 kB / 332.7 MB, free: 180 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.01017, allocations: 29.05 kB / 332.7 MB, free: 148 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.01031, allocations: 43.22 kB / 332.8 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.01067, allocations: 261.8 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.579e-05/0.0107, allocations: 71.83 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.223e-05/0.01074, allocations: 21.41 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.01082, allocations: 75.36 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01082, allocations: 4 kB / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of Templates: time 0.003875/0.01469, allocations: 2.182 MB / 335.4 MB, free: 13.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.9769483492709696]