Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0008697/0.0008697, allocations: 80.8 kB / 21.5 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.001226/0.001226, allocations: 177.6 kB / 24.92 MB, free: 8.652 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2583/0.2583, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.668e-05, allocations: 6.875 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002044/0.002061, allocations: 1.689 MB / 325 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006646/0.002725, allocations: 0.5451 MB / 325.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.002778, allocations: 4 kB / 325.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.002962, allocations: 23.84 kB / 325.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.003136, allocations: 75.55 kB / 325.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.003299, allocations: 95.62 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.003416, allocations: 79.83 kB / 325.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.523e-05/0.003481, allocations: 4 kB / 325.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.003537, allocations: 43.83 kB / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.003595, allocations: 19.98 kB / 325.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.003606, allocations: 4 kB / 325.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.003751, allocations: 111.7 kB / 326 MB, free: 6.934 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.003786, allocations: 15.92 kB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.214e-05/0.003808, allocations: 15.98 kB / 326 MB, free: 6.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.003983, allocations: 143.4 kB / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.003985, allocations: 4 kB / 326.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.003987, allocations: 3.984 kB / 326.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.00399, allocations: 4 kB / 326.2 MB, free: 6.75 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.0002889/0.004279, allocations: 301.5 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.00431, allocations: 8.031 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.004335, allocations: 4.938 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.004463, allocations: 145.6 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-06/0.004469, allocations: 384 / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.004485, allocations: 8.375 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.004588, allocations: 98.3 kB / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004596, allocations: 192 / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.004604, allocations: 8.125 kB / 326.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.004608, allocations: 4 kB / 326.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.00463, allocations: 8 kB / 326.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.004858, allocations: 171.8 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.004912, allocations: 45.31 kB / 326.9 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/0.004929, allocations: 8.859 kB / 326.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.004944, allocations: 4 kB / 327 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.004964, allocations: 34.69 kB / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.004966, allocations: 0 / 327 MB, free: 5.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002638/0.005229, allocations: 109.4 kB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.005261, allocations: 89.11 kB / 327.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.263e-05/0.005353, allocations: 147 kB / 327.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.005364, allocations: 29.7 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.005394, allocations: 92.08 kB / 327.4 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.005415, allocations: 23.78 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.005444, allocations: 25.7 kB / 327.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.005524, allocations: 326.8 kB / 327.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.005539, allocations: 6.828 kB / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.155e-05/0.00557, allocations: 51.36 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.00561, allocations: 34.48 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.00561, allocations: 4.031 kB / 327.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.055e-05/0.005681, allocations: 68.52 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.005693, allocations: 11.98 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005697, allocations: 384 / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.005706, allocations: 0 / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.939e-05/0.005766, allocations: 16 kB / 328 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.00577, allocations: 11.92 kB / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.005788, allocations: 0 / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.005794, allocations: 4 kB / 328 MB, free: 4.695 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 (9): * Single equations (assignments): 9 * 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 5.425e-05/0.005848, allocations: 116.7 kB / 328.1 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.005869, allocations: 23.86 kB / 328.2 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.005959, allocations: 66.41 kB / 328.2 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.005961, allocations: 7.984 kB / 328.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.005963, allocations: 0 / 328.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005965, allocations: 0 / 328.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.006168, allocations: 278.6 kB / 328.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.006169, allocations: 4 kB / 328.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.006203, allocations: 15.98 kB / 328.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006205, allocations: 0 / 328.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.006209, allocations: 0 / 328.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.00621, allocations: 4 kB / 328.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00621, allocations: 0 / 328.5 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/0.006288, allocations: 163.4 kB / 328.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.006298, allocations: 15.94 kB / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.006308, allocations: 0 / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.006342, allocations: 8 kB / 328.7 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.006363, allocations: 3.984 kB / 328.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.006367, allocations: 4 kB / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.879e-05/0.006396, allocations: 31.66 kB / 328.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006396, allocations: 0 / 328.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.006558, allocations: 47.86 kB / 328.8 MB, free: 3.859 MB / 298.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 (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.001221/0.007779, allocations: 0.6321 MB / 329.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.007856, allocations: 40.7 kB / 329.5 MB, free: 3.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.00786, allocations: 4 kB / 329.5 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.007881, allocations: 20.84 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.008024, allocations: 30.22 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.008279, allocations: 187 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.008311, allocations: 63.34 kB / 329.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.959e-05/0.008351, allocations: 20.47 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.008416, allocations: 67.36 kB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008416, allocations: 0 / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of Templates: time 0.003341/0.01176, allocations: 2.23 MB / 332.1 MB, free: 0.8516 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.958766401745379]