Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.0009687/0.0009687, allocations: 80.8 kB / 21.49 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.001037/0.001037, allocations: 168.7 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2764/0.2764, allocations: 32.8 MB / 294.6 MB, free: 1.168 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.26e-05, allocations: 9.297 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.00231/0.002332, allocations: 1.694 MB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007296/0.003062, allocations: 0.5413 MB / 325.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.003116, allocations: 4 kB / 325.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.00336, allocations: 75.7 kB / 325.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.003613, allocations: 99.52 kB / 325.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.003852, allocations: 119.6 kB / 325.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.003988, allocations: 79.81 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.285e-05/0.004071, allocations: 23.92 kB / 325.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.004138, allocations: 51.81 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.785e-05/0.004226, allocations: 43.94 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.004239, allocations: 4 kB / 326 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.004309, allocations: 43.92 kB / 326.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.004347, allocations: 19.88 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.004393, allocations: 20.55 kB / 326.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.004535, allocations: 87.67 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.004536, allocations: 0 / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004537, allocations: 4 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.00454, allocations: 0 / 326.2 MB, free: 6.691 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003094/0.00485, allocations: 317.4 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.004886, allocations: 12.03 kB / 326.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.004914, allocations: 8.875 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.005046, allocations: 143.4 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.005054, allocations: 4.375 kB / 326.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.005074, allocations: 4.375 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.005158, allocations: 62.94 kB / 326.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.005167, allocations: 192 / 326.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005175, allocations: 4.125 kB / 326.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.005181, allocations: 4 kB / 326.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.005204, allocations: 11.97 kB / 326.8 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.005432, allocations: 171.1 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.005485, allocations: 33.47 kB / 327 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.005501, allocations: 12.94 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.005515, allocations: 0 / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.005536, allocations: 34.5 kB / 327 MB, free: 5.789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.005537, allocations: 4 kB / 327 MB, free: 5.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004131/0.00595, allocations: 149.8 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.005979, allocations: 51.41 kB / 327.2 MB, free: 5.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.006092, allocations: 184.8 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.006102, allocations: 25.7 kB / 327.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.006138, allocations: 100.8 kB / 327.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.006165, allocations: 35.72 kB / 327.5 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.006191, allocations: 13.72 kB / 327.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.006273, allocations: 334.8 kB / 327.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.00629, allocations: 7.938 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.006305, allocations: 11.98 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.473e-05/0.00634, allocations: 23.67 kB / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.006341, allocations: 0 / 327.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.522e-05/0.006406, allocations: 65.55 kB / 328 MB, free: 4.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.006417, allocations: 4 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.006422, allocations: 0 / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.006437, allocations: 0 / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.006526, allocations: 16 kB / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.006531, allocations: 0 / 328 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.006557, allocations: 7.984 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.006565, allocations: 4 kB / 328 MB, free: 4.703 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 (8): * Single equations (assignments): 8 * 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.206e-05/0.006627, allocations: 116.7 kB / 328.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.006648, allocations: 15.92 kB / 328.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.006756, allocations: 83.31 kB / 328.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.006758, allocations: 0 / 328.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.00676, allocations: 0 / 328.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.006764, allocations: 0 / 328.2 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.00699, allocations: 255.5 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006991, allocations: 4.031 kB / 328.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.007027, allocations: 12 kB / 328.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007028, allocations: 0 / 328.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.007035, allocations: 7.984 kB / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.007037, allocations: 0 / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.007039, allocations: 3.938 kB / 328.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.007123, allocations: 160.3 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.888e-06/0.007133, allocations: 15.91 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.007143, allocations: 0 / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.007175, allocations: 4 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.00721, allocations: 7.984 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.007213, allocations: 4 kB / 328.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.139e-05/0.007255, allocations: 55.64 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007255, allocations: 0 / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000128/0.007383, allocations: 20 kB / 328.8 MB, free: 3.883 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 (8): * Single equations (assignments): 8 * 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.001167/0.008549, allocations: 0.5806 MB / 329.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.015e-05/0.00864, allocations: 36.77 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.008646, allocations: 0 / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.008673, allocations: 28.92 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.008852, allocations: 23.98 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.00916, allocations: 223.7 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.725e-05/0.009207, allocations: 71.39 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.009239, allocations: 12.72 kB / 329.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.009294, allocations: 67.36 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.009295, allocations: 0 / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of Templates: time 0.002908/0.0122, allocations: 1.518 MB / 331.3 MB, free: 1.594 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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.858380577992648]