Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0008679/0.0008679, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001887/0.002755, 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.00148/0.00148, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001895/0.003375, 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.165/1.165, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1366/1.301, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.3391/0.3391, allocations: 32.81 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02966/0.3688, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.123e-05, allocations: 4.312 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003898/0.003929, allocations: 1.669 MB / 292.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.006257, allocations: 1.319 MB / 293.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.006335, allocations: 1.688 kB / 293.6 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.006557, allocations: 24.33 kB / 293.6 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.006931, allocations: 84.94 kB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.007344, allocations: 117.9 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.007522, allocations: 63.84 kB / 293.9 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.007638, allocations: 19.95 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.007768, allocations: 47.86 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.007944, allocations: 32.88 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.007966, allocations: 4 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.008148, allocations: 91.83 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.008192, allocations: 11.94 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.008217, allocations: 8 kB / 294.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.008424, allocations: 127.5 kB / 294.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.882e-05/0.008443, allocations: 4 kB / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.008445, allocations: 0 / 294.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.008464, allocations: 0 / 294.2 MB, free: 4.656 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.0004775/0.008942, allocations: 320.6 kB / 294.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.008976, allocations: 8.031 kB / 294.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.009011, allocations: 8.938 kB / 294.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.009168, allocations: 121.7 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.009178, allocations: 4.312 kB / 294.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.009201, allocations: 8.375 kB / 294.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.009338, allocations: 94.34 kB / 294.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.009348, allocations: 4.188 kB / 294.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.009358, allocations: 8.125 kB / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.009366, allocations: 4 kB / 294.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.00939, allocations: 11.92 kB / 294.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.00964, allocations: 163 kB / 295 MB, free: 3.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.009797, allocations: 29.39 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.009816, allocations: 8.859 kB / 295 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.009837, allocations: 3.984 kB / 295 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.009868, allocations: 42.7 kB / 295.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.009869, allocations: 7.938 kB / 295.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002933/0.01016, allocations: 77.58 kB / 295.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.0102, allocations: 59.34 kB / 295.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.0103, allocations: 142 kB / 295.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.01031, allocations: 25.7 kB / 295.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.01035, allocations: 96.08 kB / 295.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.01037, allocations: 15.83 kB / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.01039, allocations: 13.72 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.664e-05/0.01048, allocations: 326.8 kB / 295.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.01049, allocations: 4 kB / 295.8 MB, free: 2.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/0.01053, allocations: 47.48 kB / 295.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.01057, allocations: 27.66 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01057, allocations: 0 / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.585e-05/0.01064, allocations: 49.56 kB / 295.9 MB, free: 2.773 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01065, allocations: 8 kB / 295.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01066, allocations: 0 / 295.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.01067, allocations: 0 / 295.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.01073, allocations: 11.98 kB / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.01073, allocations: 0 / 296 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.01076, allocations: 8 kB / 296 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.01076, allocations: 0 / 296 MB, free: 2.746 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 (5): * Single equations (assignments): 5 * 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.006e-05/0.01083, allocations: 120.7 kB / 296.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.01085, allocations: 7.938 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.01096, allocations: 66.02 kB / 296.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01096, allocations: 0 / 296.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01096, allocations: 0 / 296.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01096, allocations: 4 kB / 296.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.01118, allocations: 202.8 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01118, allocations: 3.938 kB / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.01122, allocations: 12.3 kB / 296.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.01123, allocations: 11.95 kB / 296.4 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01123, allocations: 4 kB / 296.4 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.01124, allocations: 4 kB / 296.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01124, allocations: 0 / 296.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01124, allocations: 3.938 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.949e-05/0.01133, allocations: 151.5 kB / 296.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.01134, allocations: 0 / 296.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.01137, allocations: 4 kB / 296.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.0114, allocations: 7.984 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.0114, allocations: 0 / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.437e-05/0.01144, allocations: 29.39 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01144, allocations: 4 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001696/0.01161, allocations: 35.88 kB / 296.6 MB, free: 2.027 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 (5): * Single equations (assignments): 5 * 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.001769/0.01338, allocations: 0.6965 MB / 297.3 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.0135, allocations: 24.8 kB / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.01351, allocations: 0 / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.01352, allocations: 16.84 kB / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.01376, allocations: 35.88 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.01429, allocations: 166.5 kB / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.01434, allocations: 59.34 kB / 297.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.01439, allocations: 23.77 kB / 297.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.01447, allocations: 67.36 kB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01447, allocations: 0 / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of Templates: time 0.00422/0.01869, allocations: 2.032 MB / 299.7 MB, free: 15.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.4664858235046268]