Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0009338/0.0009338, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.00216, 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.0009108/0.0009108, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.00235, 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.047/1.047, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08903/1.136, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2443/0.2443, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02285/0.2671, allocations: 13.1 MB / 291.3 MB, free: 7.363 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.353e-05, allocations: 8.203 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001808/0.001822, allocations: 1.679 MB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006474/0.002469, allocations: 0.553 MB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.002517, allocations: 0 / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.002655, allocations: 31.78 kB / 294.9 MB, free: 4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.002794, allocations: 79.61 kB / 295 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.002998, allocations: 121 kB / 295.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.003117, allocations: 63.78 kB / 295.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.003195, allocations: 11.98 kB / 295.2 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.416e-05/0.003289, allocations: 51.89 kB / 295.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.757e-05/0.003347, allocations: 11.94 kB / 295.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.003361, allocations: 0 / 295.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.003432, allocations: 43.86 kB / 295.3 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.003467, allocations: 19.92 kB / 295.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.003493, allocations: 7.938 kB / 295.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.003618, allocations: 67.75 kB / 295.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.003631, allocations: 0 / 295.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003631, allocations: 4 kB / 295.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.003645, allocations: 0 / 295.4 MB, free: 3.527 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.0003411/0.003986, allocations: 301.2 kB / 295.7 MB, free: 3.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.004015, allocations: 12.02 kB / 295.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.004041, allocations: 12.94 kB / 295.7 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.00416, allocations: 138.1 kB / 295.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.004168, allocations: 384 / 295.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.004185, allocations: 12.38 kB / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.2e-05/0.004267, allocations: 50.7 kB / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.004274, allocations: 0 / 295.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.00428, allocations: 4 kB / 295.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004286, allocations: 0 / 295.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.004313, allocations: 7.984 kB / 295.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.004559, allocations: 171.1 kB / 296.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.004705, allocations: 33.39 kB / 296.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.004719, allocations: 4.859 kB / 296.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.004735, allocations: 3.938 kB / 296.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.004757, allocations: 42.64 kB / 296.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.004758, allocations: 0 / 296.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002573/0.005016, allocations: 81.61 kB / 296.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.005049, allocations: 55.41 kB / 296.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.00515, allocations: 163.4 kB / 296.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.005159, allocations: 25.7 kB / 296.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.005189, allocations: 92.11 kB / 296.6 MB, free: 2.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.005209, allocations: 19.8 kB / 296.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.005235, allocations: 21.7 kB / 296.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.005312, allocations: 322.8 kB / 296.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.005322, allocations: 11.98 kB / 296.9 MB, free: 1.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.005333, allocations: 7.938 kB / 296.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.005358, allocations: 19.67 kB / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.005358, allocations: 0 / 297 MB, free: 1.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.99e-05/0.005408, allocations: 49.62 kB / 297 MB, free: 1.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.005419, allocations: 4 kB / 297 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005423, allocations: 4 kB / 297 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.005432, allocations: 3.938 kB / 297 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.022e-05/0.005483, allocations: 15.98 kB / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.005486, allocations: 0 / 297 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.005501, allocations: 8 kB / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.005506, allocations: 3.938 kB / 297 MB, free: 1.699 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 5.013e-05/0.005556, allocations: 108.7 kB / 297.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.005571, allocations: 15.92 kB / 297.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.005649, allocations: 58.14 kB / 297.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.005653, allocations: 3.984 kB / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.005654, allocations: 0 / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.005657, allocations: 0.5938 kB / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.005827, allocations: 222.7 kB / 297.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005828, allocations: 0 / 297.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.483e-05/0.005852, allocations: 12 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.00586, allocations: 11.94 kB / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005861, allocations: 0 / 297.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.005867, allocations: 4 kB / 297.5 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.005868, allocations: 3.984 kB / 297.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.00587, allocations: 4 kB / 297.5 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.269e-05/0.005932, allocations: 143.4 kB / 297.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.005942, allocations: 0 / 297.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.746e-05/0.005969, allocations: 0 / 297.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.00599, allocations: 11.98 kB / 297.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.005992, allocations: 0 / 297.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.006021, allocations: 41.89 kB / 297.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006021, allocations: 0 / 297.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001229/0.006144, allocations: 23.92 kB / 297.7 MB, free: 0.9883 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.001129/0.007273, allocations: 0.53 MB / 298.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.165e-05/0.007335, allocations: 20.86 kB / 298.2 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.00734, allocations: 4 kB / 298.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.759e-05/0.007357, allocations: 24.72 kB / 298.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.007513, allocations: 39.84 kB / 298.3 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.007886, allocations: 178.8 kB / 298.5 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.00792, allocations: 67.33 kB / 298.6 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.628e-05/0.007946, allocations: 8 kB / 298.6 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.007992, allocations: 59.36 kB / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.007992, allocations: 0 / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of Templates: time 0.002631/0.01062, allocations: 1.288 MB / 299.9 MB, free: 15.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.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.966342333704233]