Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.001088/0.001088, allocations: 91.22 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001457/0.001457, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9071/0.9071, allocations: 158.6 MB / 185.7 MB, free: 2.508 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1232/0.1232, allocations: 32.37 MB / 270.4 MB, free: 14.69 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.562e-05, allocations: 8.219 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2688/0.2688, allocations: 146 MB / 493.7 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.273, allocations: 4.077 MB / 497.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.2732, allocations: 20.78 kB / 497.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.2737, allocations: 165.8 kB / 498 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.2752, allocations: 0.8488 MB / 498.8 MB, free: 7.453 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.2761, allocations: 0.6418 MB / 499.5 MB, free: 7.164 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008819/0.277, allocations: 1.189 MB / 0.4889 GB, free: 6.617 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.2774, allocations: 298.8 kB / 0.4892 GB, free: 6.395 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006231/0.278, allocations: 0.6111 MB / 0.4898 GB, free: 6.023 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.2783, allocations: 348.3 kB / 0.4901 GB, free: 5.836 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.2784, allocations: 43.06 kB / 0.4902 GB, free: 5.836 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.279, allocations: 0.5158 MB / 0.4907 GB, free: 5.594 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2791, allocations: 170.6 kB / 0.4908 GB, free: 5.469 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.2793, allocations: 193.5 kB / 0.491 GB, free: 5.371 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008043/0.2801, allocations: 0.8419 MB / 0.4918 GB, free: 4.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2801, allocations: 0 / 0.4918 GB, free: 4.859 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2801, allocations: 3.938 kB / 0.4918 GB, free: 4.855 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.2801, allocations: 0 / 0.4918 GB, free: 4.855 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0009667/0.2811, allocations: 0.9258 MB / 0.4928 GB, free: 4.094 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2811, allocations: 8.5 kB / 0.4928 GB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.2814, allocations: 124.6 kB / 0.4929 GB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.2818, allocations: 366.9 kB / 0.4932 GB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-05/0.2818, allocations: 89.11 kB / 0.4933 GB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.2819, allocations: 45 kB / 0.4934 GB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.2824, allocations: 0.6811 MB / 0.494 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2824, allocations: 7.422 kB / 0.494 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.2824, allocations: 14.88 kB / 0.494 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.2825, allocations: 14.41 kB / 0.4941 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.2827, allocations: 205.4 kB / 0.4943 GB, free: 2.891 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.2841, allocations: 2.311 MB / 0.4965 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.2844, allocations: 199.8 kB / 0.4967 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2845, allocations: 78.2 kB / 0.4968 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.2846, allocations: 9.281 kB / 0.4968 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002325/0.2848, allocations: 396 kB / 0.4972 GB, free: 292 kB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.433e-06/0.2848, allocations: 0 / 0.4972 GB, free: 292 kB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.003948/0.2887, allocations: 1.875 MB / 0.499 GB, free: 15.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.2888, allocations: 163.6 kB / 0.4991 GB, free: 15.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.2891, allocations: 411 kB / 0.4995 GB, free: 14.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.2891, allocations: 36.83 kB / 0.4996 GB, free: 14.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.2893, allocations: 304 kB / 0.4999 GB, free: 14.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.2893, allocations: 163.5 kB / 0.5 GB, free: 14.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2895, allocations: 126.7 kB / 0.5001 GB, free: 14.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2896, allocations: 0.5308 MB / 0.5007 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2898, allocations: 116.2 kB / 0.5008 GB, free: 13.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.2901, allocations: 475.6 kB / 0.5012 GB, free: 13.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.2905, allocations: 456.6 kB / 0.5017 GB, free: 12.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2905, allocations: 2.875 kB / 0.5017 GB, free: 12.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007327/0.2912, allocations: 0.5741 MB / 0.5022 GB, free: 12.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.2913, allocations: 31.95 kB / 0.5023 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.2913, allocations: 5.688 kB / 0.5023 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.2915, allocations: 82.83 kB / 0.5023 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.2918, allocations: 127.8 kB / 0.5025 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004093/0.2922, allocations: 0.8509 MB / 0.5033 GB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.2924, allocations: 43.95 kB / 0.5033 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.2924, allocations: 39.98 kB / 0.5034 GB, free: 11.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.2926, allocations: 194.7 kB / 0.5036 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.2926, allocations: 67.67 kB / 0.5036 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.2933, allocations: 485.3 kB / 0.5041 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2933, allocations: 8 kB / 0.5041 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2933, allocations: 0 / 0.5041 GB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2933, allocations: 4 kB / 0.5041 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.2947, allocations: 0.9398 MB / 0.505 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2947, allocations: 0 / 0.505 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.2949, allocations: 88.05 kB / 0.5051 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003325/0.2952, allocations: 99.53 kB / 0.5052 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.2952, allocations: 16 kB / 0.5052 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.2963, allocations: 1.953 MB / 0.5071 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2963, allocations: 0 / 0.5071 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007444/0.2971, allocations: 0.6501 MB / 0.5077 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.2972, allocations: 83.62 kB / 0.5078 GB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.2973, allocations: 12 kB / 0.5078 GB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.2974, allocations: 31.91 kB / 0.5079 GB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2976, allocations: 59.84 kB / 0.5079 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.2976, allocations: 27.98 kB / 0.508 GB, free: 6.238 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.2978, allocations: 263.1 kB / 0.5082 GB, free: 5.984 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2978, allocations: 4 kB / 0.5082 GB, free: 5.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005522/0.2983, allocations: 235.7 kB / 0.5084 GB, free: 5.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006385/0.2989, allocations: 331.6 kB / 0.5088 GB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005559/0.2995, allocations: 405.5 kB / 0.5091 GB, free: 5.016 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2995, allocations: 4.062 kB / 0.5091 GB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.2998, allocations: 342.3 kB / 0.5095 GB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.3005, allocations: 229.7 kB / 0.5097 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.3021, allocations: 1.002 MB / 0.5107 GB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.338e-05/0.3022, allocations: 130.3 kB / 0.5108 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.3025, allocations: 136.5 kB / 0.5109 GB, free: 3.102 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.3027, allocations: 60.48 kB / 0.511 GB, free: 3.043 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3027, allocations: 0 / 0.511 GB, free: 3.043 MB / 378.7 MB Notification: Performance of Templates: time 0.01575/0.3184, allocations: 12.96 MB / 0.5236 GB, free: 6.176 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.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.752472711727023]