Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001985/0.001985, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001667/0.001667, allocations: 169.6 kB / 24.91 MB, free: 8.734 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2459/0.2459, allocations: 32.81 MB / 294.6 MB, free: 1.164 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 323.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.311e-05, allocations: 5.859 kB / 323.4 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.00244/0.002463, allocations: 1.794 MB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.003669, allocations: 1.009 MB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.003745, allocations: 3.938 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.003999, allocations: 35.72 kB / 326.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.004255, allocations: 91.53 kB / 326.3 MB, free: 6.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.004433, allocations: 83.61 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.004584, allocations: 107.6 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.004664, allocations: 17.34 kB / 326.5 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.004746, allocations: 55.83 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.718e-05/0.004814, allocations: 31.91 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.004827, allocations: 4 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.004902, allocations: 43.92 kB / 326.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.865e-05/0.004941, allocations: 19.92 kB / 326.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.004972, allocations: 23.91 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.005145, allocations: 103.5 kB / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.005147, allocations: 0 / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005148, allocations: 0 / 326.8 MB, free: 6.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.005152, allocations: 0 / 326.8 MB, free: 6.098 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003335/0.005486, allocations: 317.4 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.005516, allocations: 12.03 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.005543, allocations: 4.938 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.00582, allocations: 155.4 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.005834, allocations: 4.312 kB / 327.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.005851, allocations: 8.375 kB / 327.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.005949, allocations: 57.77 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.005958, allocations: 3.938 kB / 327.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.005964, allocations: 4 kB / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005968, allocations: 0 / 327.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.005993, allocations: 11.98 kB / 327.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.006177, allocations: 166 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.962e-05/0.006256, allocations: 89.22 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.006274, allocations: 12.91 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.006285, allocations: 8 kB / 327.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.222e-05/0.006358, allocations: 58.16 kB / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.006359, allocations: 0 / 327.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002728/0.006632, allocations: 117.5 kB / 327.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.006657, allocations: 55.41 kB / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.006752, allocations: 180.8 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.006765, allocations: 29.7 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.006793, allocations: 100 kB / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.006816, allocations: 23.78 kB / 328.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.006844, allocations: 25.7 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.006914, allocations: 326.8 kB / 328.5 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.006929, allocations: 10.83 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.006951, allocations: 25.64 kB / 328.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.006991, allocations: 40.52 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006992, allocations: 384 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.599e-05/0.007068, allocations: 80.38 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.007078, allocations: 4 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007082, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.007092, allocations: 0 / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.007154, allocations: 23.98 kB / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.007156, allocations: 0 / 328.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.007186, allocations: 8 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.007193, allocations: 4 kB / 328.7 MB, free: 3.992 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 (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 6.447e-05/0.007257, allocations: 120.6 kB / 328.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.00727, allocations: 7.969 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.007392, allocations: 83.12 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.007394, allocations: 3.938 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.007396, allocations: 0 / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007399, allocations: 0 / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.00762, allocations: 299.4 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007622, allocations: 0 / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.007652, allocations: 11.98 kB / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007655, allocations: 0 / 329.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.007662, allocations: 4 kB / 329.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007664, allocations: 4.031 kB / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.007665, allocations: 0 / 329.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.00777, allocations: 215 kB / 329.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.007781, allocations: 11.94 kB / 329.4 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.007797, allocations: 7.984 kB / 329.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.007837, allocations: 3.984 kB / 329.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.007865, allocations: 11.98 kB / 329.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.007878, allocations: 4 kB / 329.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.007917, allocations: 47.64 kB / 329.5 MB, free: 3.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007917, allocations: 3.938 kB / 329.5 MB, free: 3.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.008065, allocations: 23.94 kB / 329.5 MB, free: 3.074 MB / 298.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.001252/0.009316, allocations: 0.5795 MB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.285e-05/0.009409, allocations: 40.78 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.009413, allocations: 4.062 kB / 330.2 MB, free: 2.754 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.009445, allocations: 36.77 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.009618, allocations: 30.88 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.009905, allocations: 215.7 kB / 330.4 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.009947, allocations: 67.34 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.86e-05/0.009986, allocations: 17.27 kB / 330.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.01005, allocations: 75.42 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01005, allocations: 0 / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of Templates: time 0.003461/0.01352, allocations: 2.011 MB / 332.6 MB, free: 292 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.963614250998944]