Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001783/0.001783, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3524/0.3524, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 3.938 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.452e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3863/0.3863, allocations: 141.4 MB / 0.5064 GB, free: 18.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.3895, allocations: 1.58 MB / 0.508 GB, free: 17.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004309/0.39, allocations: 17.22 kB / 0.508 GB, free: 17.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.3906, allocations: 208 kB / 0.5082 GB, free: 17.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.393, allocations: 0.8257 MB / 0.509 GB, free: 16.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.3948, allocations: 0.6871 MB / 0.5097 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.396, allocations: 1.172 MB / 0.5108 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.3963, allocations: 291 kB / 0.5111 GB, free: 15.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008531/0.3972, allocations: 0.6213 MB / 0.5117 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.3976, allocations: 348.5 kB / 0.512 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.3977, allocations: 42.94 kB / 0.5121 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009775/0.3987, allocations: 0.4933 MB / 0.5125 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3988, allocations: 164 kB / 0.5127 GB, free: 14.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.3991, allocations: 193.8 kB / 0.5129 GB, free: 14.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.4005, allocations: 1.035 MB / 0.5139 GB, free: 14.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4005, allocations: 0 / 0.5139 GB, free: 14.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4005, allocations: 2.719 kB / 0.5139 GB, free: 14.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4005, allocations: 0 / 0.5139 GB, free: 14.46 MB / 410.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.001625/0.4021, allocations: 0.8337 MB / 0.5147 GB, free: 13.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4021, allocations: 9.938 kB / 0.5147 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004436/0.4026, allocations: 119.8 kB / 0.5148 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/0.4031, allocations: 371.8 kB / 0.5152 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.946e-05/0.4031, allocations: 82.88 kB / 0.5153 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.141e-05/0.4032, allocations: 38.69 kB / 0.5153 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.4041, allocations: 0.7464 MB / 0.516 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.4041, allocations: 13.25 kB / 0.516 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.4042, allocations: 20.89 kB / 0.5161 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.4042, allocations: 17.94 kB / 0.5161 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008158/0.405, allocations: 397.2 kB / 0.5165 GB, free: 12.81 MB / 410.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.002512/0.4075, allocations: 1.95 MB / 0.5184 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007719/0.4083, allocations: 339.5 kB / 0.5187 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.4087, allocations: 149.6 kB / 0.5188 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.4087, allocations: 7.453 kB / 0.5188 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/0.4092, allocations: 418.3 kB / 0.5192 GB, free: 10.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.4092, allocations: 2.781 kB / 0.5192 GB, free: 10.89 MB / 410.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.01127/0.4205, allocations: 2.976 MB / 0.5222 GB, free: 9.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.4206, allocations: 142.2 kB / 0.5223 GB, free: 9.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.421, allocations: 371.5 kB / 0.5226 GB, free: 9.488 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.421, allocations: 36.64 kB / 0.5227 GB, free: 9.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.4212, allocations: 261.3 kB / 0.5229 GB, free: 9.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.4213, allocations: 165.1 kB / 0.5231 GB, free: 9.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.4215, allocations: 120.6 kB / 0.5232 GB, free: 9.043 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.4215, allocations: 359.4 kB / 0.5235 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.4221, allocations: 241.5 kB / 0.5238 GB, free: 8.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.4228, allocations: 0.4914 MB / 0.5243 GB, free: 8.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.4239, allocations: 0.6285 MB / 0.5249 GB, free: 7.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4239, allocations: 2.5 kB / 0.5249 GB, free: 7.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001726/0.4256, allocations: 0.8372 MB / 0.5257 GB, free: 7.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.4257, allocations: 33.39 kB / 0.5257 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4257, allocations: 5.719 kB / 0.5257 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.4261, allocations: 101.1 kB / 0.5258 GB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.4266, allocations: 138.3 kB / 0.5259 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004394/0.4271, allocations: 0.6576 MB / 0.5266 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.4276, allocations: 52.8 kB / 0.5266 GB, free: 6.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.4276, allocations: 33.34 kB / 0.5267 GB, free: 6.801 MB / 410.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.0002404/0.4279, allocations: 198.5 kB / 0.5269 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.428, allocations: 64.38 kB / 0.5269 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.4297, allocations: 0.6872 MB / 0.5276 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.4297, allocations: 6.297 kB / 0.5276 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4297, allocations: 6.875 kB / 0.5276 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4297, allocations: 2.578 kB / 0.5276 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.4319, allocations: 1.104 MB / 0.5287 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4319, allocations: 2.938 kB / 0.5287 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.4323, allocations: 101 kB / 0.5288 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.4329, allocations: 114 kB / 0.5289 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.433, allocations: 14.39 kB / 0.5289 GB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.4346, allocations: 1.7 MB / 0.5306 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4347, allocations: 0 / 0.5306 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.4368, allocations: 0.9501 MB / 0.5315 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.437, allocations: 83.45 kB / 0.5316 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.4371, allocations: 16.55 kB / 0.5316 GB, free: 3.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.4375, allocations: 37.91 kB / 0.5316 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.4377, allocations: 66.94 kB / 0.5317 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.4377, allocations: 27.62 kB / 0.5317 GB, free: 3.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002678/0.438, allocations: 253.5 kB / 0.532 GB, free: 3.613 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.438, allocations: 0 / 0.532 GB, free: 3.613 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008957/0.4389, allocations: 237.7 kB / 0.5322 GB, free: 3.57 MB / 410.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.0007038/0.4396, allocations: 309.4 kB / 0.5325 GB, free: 3.418 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.441, allocations: 0.6002 MB / 0.5331 GB, free: 3.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.441, allocations: 0 / 0.5331 GB, free: 3.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007383/0.4417, allocations: 390.8 kB / 0.5334 GB, free: 2.984 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.4428, allocations: 224.5 kB / 0.5337 GB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.4445, allocations: 1.037 MB / 0.5347 GB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.4447, allocations: 257 kB / 0.5349 GB, free: 2.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004831/0.4452, allocations: 130.6 kB / 0.535 GB, free: 1.961 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.4454, allocations: 66.23 kB / 0.5351 GB, free: 1.941 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4454, allocations: 0 / 0.5351 GB, free: 1.941 MB / 410.7 MB Notification: Performance of Templates: time 0.0228/0.4682, allocations: 12.71 MB / 0.5475 GB, free: 7.879 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.844121961039491]