Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_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.0007576/0.0007576, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001782, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006986/0.0006986, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008722/0.001571, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9211/0.9211, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09843/1.02, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2597/0.2597, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02716/0.2869, allocations: 13.1 MB / 291.5 MB, free: 7.344 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.372e-05, allocations: 7.188 kB / 292.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002945/0.002968, allocations: 1.78 MB / 294.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.003913, allocations: 0.5762 MB / 295.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.003977, allocations: 4 kB / 295.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.004121, allocations: 31.67 kB / 295.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.004398, allocations: 75.5 kB / 295.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.004767, allocations: 143.5 kB / 295.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.004953, allocations: 83.72 kB / 295.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.005052, allocations: 15.97 kB / 295.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.005221, allocations: 71.77 kB / 295.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.005319, allocations: 35.88 kB / 295.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.005339, allocations: 8 kB / 295.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.005585, allocations: 99.77 kB / 295.8 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.005652, allocations: 15.94 kB / 295.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.005682, allocations: 19.94 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.005979, allocations: 147.5 kB / 296 MB, free: 3.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.005993, allocations: 0 / 296 MB, free: 3.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005995, allocations: 0 / 296 MB, free: 3.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.006005, allocations: 0 / 296 MB, free: 3.07 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.0005412/0.006547, allocations: 353 kB / 296.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.006585, allocations: 8.031 kB / 296.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.006633, allocations: 12.92 kB / 296.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.006825, allocations: 130.2 kB / 296.4 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.006836, allocations: 4.375 kB / 296.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.006861, allocations: 8.375 kB / 296.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.007034, allocations: 114.1 kB / 296.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.007045, allocations: 3.953 kB / 296.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.007055, allocations: 4 kB / 296.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.00706, allocations: 0 / 296.6 MB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.007093, allocations: 7.938 kB / 296.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.007378, allocations: 172.3 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.173e-05/0.00747, allocations: 30.56 kB / 296.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.007496, allocations: 16.8 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.007521, allocations: 12.06 kB / 296.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.007544, allocations: 30.56 kB / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.007546, allocations: 0 / 296.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004774/0.008023, allocations: 137.4 kB / 297 MB, free: 1.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.00805, allocations: 51.41 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.008172, allocations: 152.8 kB / 297.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.00819, allocations: 33.64 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.008235, allocations: 96.06 kB / 297.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.008266, allocations: 35.73 kB / 297.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.008312, allocations: 25.64 kB / 297.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.008409, allocations: 330.7 kB / 297.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.653e-05/0.008436, allocations: 8 kB / 297.7 MB, free: 1.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.008485, allocations: 47.41 kB / 297.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.008543, allocations: 33.06 kB / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008545, allocations: 384 / 297.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001093/0.008654, allocations: 65.61 kB / 297.8 MB, free: 1.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.00867, allocations: 8 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.008677, allocations: 0 / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.008694, allocations: 32 / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.008828, allocations: 39.97 kB / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.008833, allocations: 0 / 297.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.431e-05/0.008887, allocations: 15.92 kB / 297.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.008895, allocations: 0 / 297.9 MB, free: 0.9453 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 (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 7.868e-05/0.008974, allocations: 124.6 kB / 298 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.009003, allocations: 7.984 kB / 298 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.009144, allocations: 86.3 kB / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009146, allocations: 0 / 298.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.009148, allocations: 4 kB / 298.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009151, allocations: 0 / 298.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.009452, allocations: 250.6 kB / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.009454, allocations: 4 kB / 298.4 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.009549, allocations: 23.98 kB / 298.4 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.009565, allocations: 11.95 kB / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.009567, allocations: 0 / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.009574, allocations: 0 / 298.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.009577, allocations: 3.938 kB / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009579, allocations: 0 / 298.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.009703, allocations: 167.4 kB / 298.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.00972, allocations: 7.938 kB / 298.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.009802, allocations: 11.98 kB / 298.6 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.009847, allocations: 15.92 kB / 298.6 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.009853, allocations: 4 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of sorting global known variables: time 4.411e-05/0.009897, allocations: 36.38 kB / 298.6 MB, free: 144 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009897, allocations: 0 / 298.6 MB, free: 144 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.01015, allocations: 47.88 kB / 298.7 MB, free: 96 kB / 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 (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 Backend phase and start with SimCode phase: time 0.001951/0.0121, allocations: 0.7086 MB / 299.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.01224, allocations: 44.77 kB / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.01225, allocations: 0 / 299.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.01231, allocations: 32.8 kB / 299.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.0126, allocations: 138.8 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.01321, allocations: 224.9 kB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.01326, allocations: 67.2 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.641e-05/0.01333, allocations: 12.48 kB / 299.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.01344, allocations: 67.36 kB / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of SimCode: time 4.909e-06/0.01345, allocations: 0 / 300 MB, free: 15.1 MB / 298.7 MB Notification: Performance of Templates: time 0.005859/0.01931, allocations: 2.809 MB / 302.8 MB, free: 12.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.851718627847731]