Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001366/0.001366, allocations: 88.2 kB / 20.95 MB, free: 3.605 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.001291/0.001291, allocations: 169 kB / 24.24 MB, free: 316 kB / 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.048/1.048, allocations: 158.6 MB / 186 MB, free: 2.93 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.1335/0.1335, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.308e-05/4.603e-05, allocations: 5.406 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002966/0.003012, allocations: 1.657 MB / 349.3 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004293, allocations: 1.075 MB / 350.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.004386, allocations: 0 / 350.4 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.004727, allocations: 31.73 kB / 350.4 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.004996, allocations: 47.7 kB / 350.5 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.005336, allocations: 151.7 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.005508, allocations: 67.77 kB / 350.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.00565, allocations: 15.97 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.816e-05/0.005718, allocations: 35.86 kB / 350.7 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.005837, allocations: 23.91 kB / 350.8 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.005862, allocations: 7.984 kB / 350.8 MB, free: 6.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.00597, allocations: 43.92 kB / 350.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.006042, allocations: 23.92 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.006077, allocations: 15.98 kB / 350.9 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.006293, allocations: 91.66 kB / 350.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.006299, allocations: 0 / 350.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.006302, allocations: 0 / 350.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.006308, allocations: 3.938 kB / 351 MB, free: 6.477 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005211/0.006829, allocations: 416.1 kB / 351.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.006884, allocations: 8.031 kB / 351.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.006954, allocations: 8.891 kB / 351.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.007143, allocations: 132.6 kB / 351.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.007159, allocations: 384 / 351.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.007191, allocations: 4.375 kB / 351.5 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.007371, allocations: 112 kB / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.007384, allocations: 192 / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.007398, allocations: 12.12 kB / 351.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.007408, allocations: 0 / 351.6 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.007449, allocations: 7.984 kB / 351.6 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.007822, allocations: 287.7 kB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.297e-05/0.007905, allocations: 42.98 kB / 352 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/0.007933, allocations: 15.62 kB / 352 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.007958, allocations: 4 kB / 352 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.007985, allocations: 37.39 kB / 352 MB, free: 5.266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.674e-06/0.007987, allocations: 3.984 kB / 352 MB, free: 5.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005321/0.008519, allocations: 125.5 kB / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.008567, allocations: 81.11 kB / 352.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.008672, allocations: 189.8 kB / 352.4 MB, free: 4.832 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.008681, allocations: 29.69 kB / 352.4 MB, free: 4.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.008729, allocations: 138.9 kB / 352.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.008751, allocations: 19.8 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.008789, allocations: 31.36 kB / 352.6 MB, free: 4.598 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.008848, allocations: 0.4923 MB / 353.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.366e-05/0.008871, allocations: 7.984 kB / 353.1 MB, free: 4.086 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.008905, allocations: 53.08 kB / 353.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.008954, allocations: 43.77 kB / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008955, allocations: 0 / 353.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.272e-05/0.009038, allocations: 69.62 kB / 353.3 MB, free: 3.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.009054, allocations: 8 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.009061, allocations: 0 / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.009079, allocations: 0 / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.671e-05/0.009176, allocations: 12 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.009183, allocations: 8.016 kB / 353.3 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.009208, allocations: 4 kB / 353.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.009219, allocations: 4 kB / 353.3 MB, free: 3.863 MB / 282.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 (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.641e-05/0.009285, allocations: 164.5 kB / 353.5 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.009307, allocations: 15.95 kB / 353.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.009448, allocations: 78.06 kB / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.00945, allocations: 0 / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.009454, allocations: 0 / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.009459, allocations: 3.984 kB / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.009704, allocations: 341.3 kB / 353.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.009706, allocations: 4 kB / 353.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.00975, allocations: 12 kB / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.009753, allocations: 0 / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.009761, allocations: 0 / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.009764, allocations: 0 / 353.9 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.009765, allocations: 3.984 kB / 353.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.009872, allocations: 227.7 kB / 354.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.00988, allocations: 7.953 kB / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.009897, allocations: 0 / 354.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.009932, allocations: 4 kB / 354.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.009987, allocations: 11.98 kB / 354.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.009993, allocations: 4 kB / 354.2 MB, free: 2.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.01004, allocations: 148.1 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.01023, allocations: 23.94 kB / 354.3 MB, free: 2.762 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001105/0.01133, allocations: 426.8 kB / 354.8 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.01148, allocations: 47.61 kB / 354.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01149, allocations: 0 / 354.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.01152, allocations: 27.67 kB / 354.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.01178, allocations: 35.77 kB / 354.9 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.01221, allocations: 190.9 kB / 355.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.458e-05/0.01224, allocations: 63.34 kB / 355.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.926e-05/0.01231, allocations: 19.97 kB / 355.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.01235, allocations: 12.5 kB / 355.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01235, allocations: 7.938 kB / 355.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of Templates: time 0.003994/0.01634, allocations: 1.615 MB / 356.8 MB, free: 380 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.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.5418553811032325]