Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.00167/0.00167, allocations: 80.92 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.001181/0.001181, allocations: 166.7 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2386/0.2386, allocations: 32.81 MB / 294.6 MB, free: 1.246 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.809e-05, allocations: 6.969 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002214/0.002232, allocations: 1.719 MB / 325 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007941/0.003026, allocations: 0.5607 MB / 325.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.003089, allocations: 4 kB / 325.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.003355, allocations: 95.67 kB / 325.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.003591, allocations: 111.5 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.003844, allocations: 119.6 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.003987, allocations: 99.8 kB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.004091, allocations: 23.92 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.004163, allocations: 59.81 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.004246, allocations: 51.88 kB / 326.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.004258, allocations: 4 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/0.004337, allocations: 47.92 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.004379, allocations: 31.91 kB / 326.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.004406, allocations: 23.86 kB / 326.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.004547, allocations: 115.5 kB / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-06/0.004548, allocations: 0 / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004549, allocations: 4 kB / 326.4 MB, free: 6.562 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.004552, allocations: 0 / 326.4 MB, free: 6.562 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003026/0.004855, allocations: 330 kB / 326.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.004884, allocations: 8.031 kB / 326.7 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.004912, allocations: 16.92 kB / 326.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.005052, allocations: 149.6 kB / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.005059, allocations: 384 / 326.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.005077, allocations: 4.375 kB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/0.005167, allocations: 82.86 kB / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.005177, allocations: 192 / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.005184, allocations: 8.125 kB / 326.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005189, allocations: 4 kB / 326.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.005216, allocations: 11.98 kB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.005453, allocations: 210.9 kB / 327.2 MB, free: 5.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/0.005505, allocations: 38.55 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.005525, allocations: 20.8 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.005541, allocations: 0 / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.005562, allocations: 38.55 kB / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.005563, allocations: 0 / 327.3 MB, free: 5.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004736/0.006036, allocations: 205.5 kB / 327.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.006067, allocations: 51.41 kB / 327.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.006188, allocations: 193.1 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.006201, allocations: 25.7 kB / 327.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.006237, allocations: 104 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.006267, allocations: 39.64 kB / 327.9 MB, free: 4.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.006302, allocations: 33.69 kB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.006377, allocations: 330.7 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.006394, allocations: 15.98 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.006412, allocations: 12.62 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.006461, allocations: 46.22 kB / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.006462, allocations: 0 / 328.3 MB, free: 4.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.378e-05/0.006536, allocations: 65.67 kB / 328.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.006546, allocations: 8 kB / 328.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.006551, allocations: 7.969 kB / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.006561, allocations: 0 / 328.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.006629, allocations: 23.98 kB / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.006633, allocations: 0 / 328.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.006653, allocations: 8 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.006659, allocations: 4 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.19e-05/0.006721, allocations: 124.5 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.006742, allocations: 11.98 kB / 328.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.006865, allocations: 103.8 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.006868, allocations: 4 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.00687, allocations: 0 / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.006873, allocations: 0 / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.007135, allocations: 304.1 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007137, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.007184, allocations: 28.02 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007186, allocations: 0 / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.007194, allocations: 7.984 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.007195, allocations: 0 / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.007198, allocations: 7.938 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.392e-05/0.007292, allocations: 180 kB / 329.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.007302, allocations: 11.91 kB / 329.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.007313, allocations: 4 kB / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.429e-05/0.007347, allocations: 4 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.007373, allocations: 11.92 kB / 329.2 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.007379, allocations: 8 kB / 329.2 MB, free: 3.492 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.949e-05/0.007428, allocations: 69.53 kB / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007428, allocations: 0 / 329.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001459/0.007574, allocations: 27.98 kB / 329.3 MB, free: 3.395 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001335/0.00891, allocations: 0.5742 MB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.009013, allocations: 48.72 kB / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.009016, allocations: 0 / 329.9 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.205e-05/0.009048, allocations: 36.66 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.009212, allocations: 19.98 kB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.009536, allocations: 278.4 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.009579, allocations: 79.31 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.82e-05/0.009617, allocations: 20.55 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.009679, allocations: 67.36 kB / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.00968, allocations: 0 / 330.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of Templates: time 0.003198/0.01288, allocations: 1.758 MB / 332.2 MB, free: 0.7852 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.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.0296380040235817]