Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.001444/0.001444, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00223/0.003675, 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.001477/0.001477, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.003013, 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.147/1.147, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1483/1.295, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.3273/0.3273, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03273/0.36, allocations: 12.52 MB / 289.3 MB, free: 8.68 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.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.475e-05/3.663e-05, allocations: 3.188 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002905/0.002942, allocations: 1.689 MB / 292.3 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.003924, allocations: 0.5728 MB / 292.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.544e-05/0.003999, allocations: 3.938 kB / 292.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.004165, allocations: 30.66 kB / 292.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.00436, allocations: 73.16 kB / 293 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.004614, allocations: 111.5 kB / 293.1 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.004778, allocations: 73.91 kB / 293.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.004875, allocations: 12.16 kB / 293.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.004989, allocations: 64.33 kB / 293.2 MB, free: 5.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.586e-05/0.005075, allocations: 26.56 kB / 293.3 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.005093, allocations: 3.562 kB / 293.3 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.005292, allocations: 96.78 kB / 293.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.005349, allocations: 15.92 kB / 293.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.00538, allocations: 11.94 kB / 293.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.005637, allocations: 131.5 kB / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.343e-05/0.005661, allocations: 0 / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.005663, allocations: 0 / 293.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.005678, allocations: 0 / 293.5 MB, free: 5.387 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005787/0.006257, allocations: 316.6 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.006294, allocations: 12.03 kB / 293.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.00633, allocations: 8.875 kB / 293.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.006486, allocations: 135.4 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.006497, allocations: 4.375 kB / 294 MB, free: 4.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.00652, allocations: 4.375 kB / 294 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.006658, allocations: 94.36 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.006666, allocations: 192 / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.006677, allocations: 8.125 kB / 294.1 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.006684, allocations: 3.984 kB / 294.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.00671, allocations: 7.938 kB / 294.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.007007, allocations: 179 kB / 294.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.007072, allocations: 33.56 kB / 294.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.007093, allocations: 12.84 kB / 294.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.007118, allocations: 0 / 294.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.00714, allocations: 30.56 kB / 294.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.007141, allocations: 7.938 kB / 294.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003595/0.0075, allocations: 109.4 kB / 294.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.007534, allocations: 51.41 kB / 294.5 MB, free: 4.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.007658, allocations: 146.2 kB / 294.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.007672, allocations: 29.7 kB / 294.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.007716, allocations: 88.12 kB / 294.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.007739, allocations: 27.78 kB / 294.8 MB, free: 3.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.007776, allocations: 21.72 kB / 294.8 MB, free: 3.93 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.00791, allocations: 322.8 kB / 295.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.007945, allocations: 10.83 kB / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.008, allocations: 47.41 kB / 295.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.008061, allocations: 30.48 kB / 295.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.008063, allocations: 0 / 295.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001141/0.008177, allocations: 72.31 kB / 295.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.008199, allocations: 12.03 kB / 295.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.008208, allocations: 0 / 295.3 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.008228, allocations: 4 kB / 295.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.008345, allocations: 15.98 kB / 295.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.00835, allocations: 4.312 kB / 295.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.008382, allocations: 0 / 295.3 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.008392, allocations: 4 kB / 295.3 MB, free: 3.383 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 (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 0.0001027/0.008495, allocations: 112.7 kB / 295.4 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.00853, allocations: 11.92 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.008721, allocations: 70.38 kB / 295.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.008725, allocations: 4 kB / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/0.008746, allocations: 0 / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.008752, allocations: 0 / 295.5 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.009078, allocations: 286.5 kB / 295.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.009081, allocations: 0 / 295.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.009137, allocations: 15.98 kB / 295.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.009148, allocations: 7.953 kB / 295.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.009151, allocations: 0 / 295.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.009156, allocations: 0 / 295.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.009158, allocations: 0 / 295.8 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.00916, allocations: 4 kB / 295.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.009261, allocations: 155.4 kB / 296 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.009277, allocations: 8 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-05/0.009311, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.009343, allocations: 7.984 kB / 296 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.009347, allocations: 0 / 296 MB, free: 2.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.009395, allocations: 36.59 kB / 296 MB, free: 2.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009395, allocations: 0 / 296 MB, free: 2.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.009606, allocations: 43.86 kB / 296.1 MB, free: 2.574 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.001794/0.0114, allocations: 0.7001 MB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.01153, allocations: 32.78 kB / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.01154, allocations: 0 / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.691e-05/0.01157, allocations: 20.84 kB / 296.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.0118, allocations: 38.83 kB / 296.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.01242, allocations: 179 kB / 297 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.563e-05/0.01247, allocations: 63.34 kB / 297.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.01252, allocations: 13.03 kB / 297.1 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.0126, allocations: 71.36 kB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0126, allocations: 3.938 kB / 297.2 MB, free: 1.777 MB / 282.7 MB Notification: Performance of Templates: time 0.00492/0.01752, allocations: 2.243 MB / 299.4 MB, free: 15.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.424773421138525]