Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001471/0.001471, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001724/0.001724, allocations: 166.4 kB / 24.84 MB, free: 9.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.123/1.123, allocations: 158.6 MB / 186.7 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1521/0.1521, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.465e-05, allocations: 6.25 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002937/0.002971, allocations: 1.682 MB / 350.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.004176, allocations: 0.7726 MB / 351.4 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.00432, allocations: 0 / 351.4 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.004781, allocations: 71.64 kB / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.005076, allocations: 63.69 kB / 351.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.005359, allocations: 75.77 kB / 351.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.005547, allocations: 103.7 kB / 351.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.005611, allocations: 15.86 kB / 351.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.005715, allocations: 55.83 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.005831, allocations: 39.89 kB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.005853, allocations: 4 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.308e-05/0.005936, allocations: 31.97 kB / 351.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.005987, allocations: 15.94 kB / 351.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.00602, allocations: 15.92 kB / 351.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.006214, allocations: 91.61 kB / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.006219, allocations: 0 / 352 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.00622, allocations: 4 kB / 352 MB, free: 6.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.006227, allocations: 0 / 352 MB, free: 6.039 MB / 282.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.0004218/0.006649, allocations: 435.9 kB / 352.4 MB, free: 5.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.006693, allocations: 8.031 kB / 352.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.006745, allocations: 12.89 kB / 352.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.0069, allocations: 144.4 kB / 352.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.006921, allocations: 8.375 kB / 352.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.00693, allocations: 4.375 kB / 352.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.00704, allocations: 58.88 kB / 352.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.007049, allocations: 3.938 kB / 352.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.007057, allocations: 4 kB / 352.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.007062, allocations: 0 / 352.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.878e-05/0.007091, allocations: 11.98 kB / 352.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.007221, allocations: 109.3 kB / 352.8 MB, free: 5.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.211e-05/0.007313, allocations: 39.11 kB / 352.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.007335, allocations: 19.69 kB / 352.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.007348, allocations: 0 / 352.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.007448, allocations: 72.92 kB / 352.9 MB, free: 5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.00745, allocations: 4 kB / 352.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001786/0.007629, allocations: 81.56 kB / 353 MB, free: 4.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.007652, allocations: 51.41 kB / 353.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.356e-05/0.007736, allocations: 220 kB / 353.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.007745, allocations: 25.7 kB / 353.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.007776, allocations: 150.9 kB / 353.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.007809, allocations: 15.83 kB / 353.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.007838, allocations: 31.36 kB / 353.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.007894, allocations: 0.4923 MB / 354 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.007913, allocations: 4 kB / 354 MB, free: 3.871 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.007936, allocations: 35.34 kB / 354 MB, free: 3.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.554e-05/0.007972, allocations: 35.31 kB / 354.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007974, allocations: 0 / 354.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.682e-05/0.008051, allocations: 69.58 kB / 354.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.008066, allocations: 4 kB / 354.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008071, allocations: 0 / 354.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.008083, allocations: 3.938 kB / 354.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.008154, allocations: 15.98 kB / 354.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.008157, allocations: 0 / 354.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.008189, allocations: 4.344 kB / 354.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.008195, allocations: 4 kB / 354.2 MB, free: 3.68 MB / 282.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 6.379e-05/0.008259, allocations: 168.5 kB / 354.3 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.008274, allocations: 11.91 kB / 354.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.008401, allocations: 86.23 kB / 354.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.008406, allocations: 3.938 kB / 354.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.008408, allocations: 3.984 kB / 354.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.008413, allocations: 4 kB / 354.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.445e-05/0.008497, allocations: 117.2 kB / 354.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008499, allocations: 0 / 354.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.608e-05/0.008526, allocations: 8 kB / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.008527, allocations: 0 / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.008534, allocations: 0 / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008536, allocations: 0 / 354.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.00854, allocations: 15.91 kB / 354.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.626e-05/0.008626, allocations: 112.3 kB / 354.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.00864, allocations: 7.953 kB / 354.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.008658, allocations: 0 / 354.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.958e-05/0.008687, allocations: 3.984 kB / 354.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.008718, allocations: 4 kB / 354.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.00873, allocations: 7.938 kB / 354.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.008778, allocations: 160 kB / 354.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008778, allocations: 0 / 354.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.00894, allocations: 19.98 kB / 354.9 MB, free: 2.895 MB / 282.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.001013/0.009953, allocations: 392.2 kB / 355.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.01011, allocations: 35.61 kB / 355.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.01012, allocations: 0 / 355.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.152e-05/0.01015, allocations: 23.8 kB / 355.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.01038, allocations: 29.36 kB / 355.4 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/0.01079, allocations: 185.3 kB / 355.5 MB, free: 2.297 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.01082, allocations: 67.28 kB / 355.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.01087, allocations: 20.53 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/0.01093, allocations: 90.19 kB / 355.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of SimCode: time 1.753e-06/0.01094, allocations: 0 / 355.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Templates: time 0.004078/0.01501, allocations: 1.769 MB / 357.5 MB, free: 352 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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.5264683170244098]