Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0008373/0.0008373, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001163/0.002, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007827/0.0007827, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009493/0.001732, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 1.128/1.128, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1081/1.236, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.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.3199/0.3199, allocations: 32.79 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03373/0.3536, allocations: 12.53 MB / 289.3 MB, free: 8.66 MB / 282.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 290.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.61e-05, allocations: 2.312 kB / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002496/0.002512, allocations: 1.778 MB / 292.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.003542, allocations: 0.5934 MB / 293 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.003641, allocations: 1.156 kB / 293 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.003831, allocations: 45.39 kB / 293 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.004147, allocations: 75.88 kB / 293.1 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.004685, allocations: 182.8 kB / 293.3 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.004925, allocations: 101.9 kB / 293.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.005031, allocations: 17.91 kB / 293.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.005166, allocations: 71.27 kB / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.005255, allocations: 39.83 kB / 293.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.005274, allocations: 4 kB / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.005483, allocations: 103.9 kB / 293.6 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.005547, allocations: 15.94 kB / 293.6 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.005578, allocations: 15.94 kB / 293.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.005828, allocations: 151.4 kB / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-05/0.005848, allocations: 0 / 293.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.005849, allocations: 4 kB / 293.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.005869, allocations: 0 / 293.8 MB, free: 5.074 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.0005729/0.006442, allocations: 348.5 kB / 294.1 MB, free: 4.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.006482, allocations: 12.03 kB / 294.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.006531, allocations: 4.938 kB / 294.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.006728, allocations: 142.1 kB / 294.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.00674, allocations: 4.375 kB / 294.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.006767, allocations: 4.375 kB / 294.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.006949, allocations: 118 kB / 294.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.00696, allocations: 4 kB / 294.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.00697, allocations: 0 / 294.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.006976, allocations: 0 / 294.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.00701, allocations: 8 kB / 294.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.007393, allocations: 199 kB / 294.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.007532, allocations: 29.41 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.007556, allocations: 8.859 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.007593, allocations: 7.938 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.007628, allocations: 42.67 kB / 294.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.264e-06/0.00763, allocations: 0 / 294.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005593/0.008189, allocations: 149.4 kB / 294.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.008235, allocations: 51.41 kB / 294.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.008364, allocations: 152.9 kB / 295.1 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.008382, allocations: 33.7 kB / 295.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.008439, allocations: 88.12 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.008474, allocations: 31.73 kB / 295.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.008519, allocations: 21.7 kB / 295.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.008655, allocations: 330.8 kB / 295.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/0.008685, allocations: 11.98 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.241e-05/0.008737, allocations: 47.41 kB / 295.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.008794, allocations: 39.59 kB / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.008795, allocations: 0 / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00011/0.008905, allocations: 70.25 kB / 295.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.008924, allocations: 4 kB / 295.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.008931, allocations: 3.938 kB / 295.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.008944, allocations: 0 / 295.7 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.009078, allocations: 36.02 kB / 295.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.009082, allocations: 3.984 kB / 295.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.009123, allocations: 12 kB / 295.8 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.009134, allocations: 7.984 kB / 295.8 MB, free: 2.906 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 6.136e-05/0.009195, allocations: 116.6 kB / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.009215, allocations: 11.94 kB / 295.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.009334, allocations: 82.34 kB / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.009338, allocations: 4 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.009339, allocations: 0 / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.009344, allocations: 0 / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.009628, allocations: 302.5 kB / 296.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.00963, allocations: 0 / 296.3 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.009697, allocations: 23.98 kB / 296.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.009707, allocations: 11.89 kB / 296.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.009711, allocations: 3.984 kB / 296.3 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.009717, allocations: 4 kB / 296.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.009718, allocations: 0 / 296.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.00972, allocations: 0 / 296.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.009839, allocations: 163.5 kB / 296.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.009853, allocations: 4 kB / 296.5 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.009904, allocations: 15.98 kB / 296.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.009951, allocations: 11.92 kB / 296.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.009958, allocations: 4 kB / 296.5 MB, free: 2.105 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.426e-05/0.009992, allocations: 39.86 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009992, allocations: 0 / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001998/0.01019, allocations: 55.8 kB / 296.6 MB, free: 2.012 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 (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.001679/0.01187, allocations: 0.6966 MB / 297.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.012, allocations: 40.78 kB / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.01201, allocations: 0 / 297.4 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.01205, allocations: 24.8 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.01226, allocations: 42.25 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/0.0128, allocations: 228.2 kB / 297.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.01285, allocations: 71.92 kB / 297.7 MB, free: 1.234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.975e-05/0.01291, allocations: 12.48 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.013, allocations: 75.36 kB / 297.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.013, allocations: 0 / 297.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of Templates: time 0.004671/0.01767, allocations: 2.866 MB / 300.7 MB, free: 14.31 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_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: 3.3258436117321253]