Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.0009768/0.0009768, allocations: 80.8 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.0009334/0.0009334, allocations: 170.8 kB / 24.91 MB, free: 9.152 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.9641/0.9641, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2483/0.2483, allocations: 32.81 MB / 294.6 MB, free: 1.184 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 4 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.504e-05, allocations: 5.266 kB / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002498/0.002523, allocations: 1.702 MB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003926, allocations: 0.9896 MB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.438e-05/0.00402, allocations: 3.938 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.004394, allocations: 63.72 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.004749, allocations: 111.5 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.004965, allocations: 75.61 kB / 326.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.005147, allocations: 112.3 kB / 326.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.005194, allocations: 4.234 kB / 326.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.005294, allocations: 59.77 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.005396, allocations: 43.88 kB / 326.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.005413, allocations: 4 kB / 326.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.005515, allocations: 31.92 kB / 326.5 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.189e-05/0.005567, allocations: 19.94 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.005605, allocations: 23.91 kB / 326.5 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.005777, allocations: 87.61 kB / 326.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.005781, allocations: 3.938 kB / 326.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005783, allocations: 4 kB / 326.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.005788, allocations: 0 / 326.6 MB, free: 6.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000487/0.006275, allocations: 305.5 kB / 326.9 MB, free: 5.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.006313, allocations: 12.03 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.006351, allocations: 8.922 kB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.006544, allocations: 147.4 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.006563, allocations: 4.375 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.006575, allocations: 384 / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.006691, allocations: 57.77 kB / 327.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.006699, allocations: 3.938 kB / 327.2 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.006708, allocations: 8 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.006715, allocations: 0 / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.346e-05/0.006738, allocations: 11.92 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.981e-05/0.006838, allocations: 66.7 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.006928, allocations: 37.42 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.00695, allocations: 12.86 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.006963, allocations: 4 kB / 327.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.781e-05/0.00706, allocations: 66.14 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.007062, allocations: 0 / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001306/0.007193, allocations: 61.69 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.007234, allocations: 55.34 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.007375, allocations: 181.5 kB / 327.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.007393, allocations: 25.7 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.007428, allocations: 96.12 kB / 327.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.007462, allocations: 19.77 kB / 327.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.007503, allocations: 25.7 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.007597, allocations: 318.8 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.007621, allocations: 10.83 kB / 328.1 MB, free: 4.605 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.007652, allocations: 29.61 kB / 328.2 MB, free: 4.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.0077, allocations: 35.36 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007702, allocations: 0 / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.78e-05/0.00779, allocations: 60.45 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.007802, allocations: 8 kB / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.007807, allocations: 0 / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.007819, allocations: 0 / 328.3 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.007883, allocations: 15.92 kB / 328.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.007887, allocations: 4 kB / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.00792, allocations: 0 / 328.3 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.007926, allocations: 4.031 kB / 328.3 MB, free: 4.43 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 (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 7.44e-05/0.008, allocations: 121.5 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.008016, allocations: 11.98 kB / 328.4 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.804e-05/0.008114, allocations: 62.77 kB / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008116, allocations: 384 / 328.5 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.008119, allocations: 3.938 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.008122, allocations: 0 / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.963e-05/0.008222, allocations: 97.86 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008223, allocations: 0 / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.008243, allocations: 7.984 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.008244, allocations: 4 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.00825, allocations: 0 / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.00825, allocations: 0 / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008252, allocations: 0 / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.769e-05/0.008339, allocations: 94.64 kB / 328.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.557e-05/0.008355, allocations: 11.91 kB / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.008371, allocations: 0 / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.008397, allocations: 0 / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.008421, allocations: 7.984 kB / 328.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.008431, allocations: 0 / 328.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.008485, allocations: 55.58 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008485, allocations: 4 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001813/0.008667, allocations: 27.88 kB / 328.8 MB, free: 3.871 MB / 298.7 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.001291/0.009958, allocations: 0.4907 MB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.01006, allocations: 32.78 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.01006, allocations: 0 / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.0101, allocations: 16.86 kB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.01026, allocations: 31.16 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.0106, allocations: 210.8 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.132e-05/0.01065, allocations: 63.34 kB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.961e-05/0.01068, allocations: 16.72 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.01076, allocations: 71.36 kB / 329.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01076, allocations: 3.938 kB / 329.7 MB, free: 3.152 MB / 298.7 MB Notification: Performance of Templates: time 0.004064/0.01482, allocations: 1.768 MB / 331.5 MB, free: 1.414 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.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.8696049116551876]