Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001977/0.001977, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.002648/0.002648, allocations: 212.2 kB / 23.73 MB, free: 4.523 MB / 14.72 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2345/0.2345, allocations: 46.95 MB / 360.9 MB, free: 4.133 MB / 286.1 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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 72.06 kB / 0.4966 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3661, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2013/0.5673, allocations: 141.4 MB / 0.6991 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.5714, allocations: 1.587 MB / 0.7007 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006069/0.572, allocations: 19.81 kB / 0.7007 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.5728, allocations: 202.6 kB / 0.7009 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.5753, allocations: 0.799 MB / 0.7017 GB, free: 3.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.5773, allocations: 0.6815 MB / 0.7023 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.579, allocations: 1.165 MB / 0.7035 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/0.5795, allocations: 282.2 kB / 0.7037 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000924/0.5804, allocations: 494.3 kB / 0.7042 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.581, allocations: 406.4 kB / 0.7046 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.021e-05/0.581, allocations: 47.94 kB / 0.7046 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.5822, allocations: 0.4993 MB / 0.7051 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.5825, allocations: 159.5 kB / 0.7053 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.5828, allocations: 231 kB / 0.7055 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.5843, allocations: 0.9575 MB / 0.7064 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5843, allocations: 0 / 0.7064 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5843, allocations: 0 / 0.7064 GB, free: 14.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.5843, allocations: 7.938 kB / 0.7064 GB, free: 14.76 MB / 0.545 GB 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.001899/0.5862, allocations: 0.8377 MB / 0.7073 GB, free: 13.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.5862, allocations: 8.031 kB / 0.7073 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.5867, allocations: 79.61 kB / 0.7073 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.5874, allocations: 344.9 kB / 0.7077 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.5875, allocations: 92.33 kB / 0.7078 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5876, allocations: 47.92 kB / 0.7078 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.5887, allocations: 0.7464 MB / 0.7085 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.5887, allocations: 3.938 kB / 0.7085 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.5888, allocations: 23.94 kB / 0.7086 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.5888, allocations: 12.66 kB / 0.7086 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009308/0.5898, allocations: 402.2 kB / 0.709 GB, free: 12 MB / 0.545 GB 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.003314/0.5931, allocations: 1.938 MB / 0.7109 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008797/0.5939, allocations: 328.2 kB / 0.7112 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.5943, allocations: 161.3 kB / 0.7113 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.5944, allocations: 8.219 kB / 0.7113 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006809/0.5951, allocations: 414.2 kB / 0.7117 GB, free: 9.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.5951, allocations: 0 / 0.7117 GB, free: 9.039 MB / 0.545 GB 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.01255/0.6076, allocations: 3.011 MB / 0.7147 GB, free: 5.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.6078, allocations: 152.4 kB / 0.7148 GB, free: 5.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.6083, allocations: 369.5 kB / 0.7152 GB, free: 5.402 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.6084, allocations: 37.7 kB / 0.7152 GB, free: 5.359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.6086, allocations: 256.4 kB / 0.7154 GB, free: 5.105 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.6088, allocations: 162.6 kB / 0.7156 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.609, allocations: 130.3 kB / 0.7157 GB, free: 4.812 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.6092, allocations: 350.8 kB / 0.7161 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/0.6098, allocations: 246.8 kB / 0.7163 GB, free: 4.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008844/0.6107, allocations: 0.4991 MB / 0.7168 GB, free: 3.613 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.6121, allocations: 0.6394 MB / 0.7174 GB, free: 2.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6122, allocations: 4 kB / 0.7174 GB, free: 2.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002035/0.6142, allocations: 0.8156 MB / 0.7182 GB, free: 2.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.6142, allocations: 34.36 kB / 0.7182 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6142, allocations: 4 kB / 0.7182 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/0.6147, allocations: 116.8 kB / 0.7183 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.6153, allocations: 135.8 kB / 0.7185 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007109/0.616, allocations: 0.6772 MB / 0.7191 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.6166, allocations: 56.02 kB / 0.7192 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.6166, allocations: 43.98 kB / 0.7192 GB, free: 0.9648 MB / 0.545 GB 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.0003438/0.617, allocations: 201.7 kB / 0.7194 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-05/0.6171, allocations: 51.7 kB / 0.7195 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.6191, allocations: 0.7211 MB / 0.7202 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6191, allocations: 8 kB / 0.7202 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6191, allocations: 0 / 0.7202 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6191, allocations: 3.984 kB / 0.7202 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.6218, allocations: 1.144 MB / 0.7213 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.6218, allocations: 0 / 0.7213 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.6223, allocations: 103.9 kB / 0.7214 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005923/0.6229, allocations: 108.9 kB / 0.7215 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.623, allocations: 19.98 kB / 0.7215 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.625, allocations: 1.683 MB / 0.7232 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.625, allocations: 3.938 kB / 0.7232 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.6274, allocations: 0.9675 MB / 0.7241 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.6277, allocations: 91.64 kB / 0.7242 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.6278, allocations: 8 kB / 0.7242 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.6282, allocations: 43.95 kB / 0.7243 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.6284, allocations: 63.89 kB / 0.7243 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.307e-05/0.6284, allocations: 35.98 kB / 0.7244 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003359/0.6288, allocations: 255.2 kB / 0.7246 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6288, allocations: 3.938 kB / 0.7246 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008994/0.6297, allocations: 231.7 kB / 0.7248 GB, free: 11.02 MB / 0.5606 GB 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 (41): * Single equations (assignments): 38 * 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.0007939/0.6305, allocations: 278.9 kB / 0.7251 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.6322, allocations: 0.6165 MB / 0.7257 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6323, allocations: 3.938 kB / 0.7257 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009289/0.6332, allocations: 394.3 kB / 0.7261 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.6342, allocations: 210.9 kB / 0.7263 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.6367, allocations: 1.17 MB / 0.7274 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.637, allocations: 252.8 kB / 0.7277 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005621/0.6375, allocations: 148.5 kB / 0.7278 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.6378, allocations: 71.41 kB / 0.7279 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.6378, allocations: 4 kB / 0.7279 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of Templates: time 0.3142/0.952, allocations: 13.81 MB / 0.7414 GB, free: 172.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.284466719720513]