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.001886/0.001886, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002047/0.002047, allocations: 207.5 kB / 23.73 MB, free: 4.391 MB / 14.72 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.449/1.449, allocations: 230.5 MB / 257.4 MB, free: 7.758 MB / 206.1 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.2381/0.2381, allocations: 46.95 MB / 360.8 MB, free: 3.914 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 83.81 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.366, allocations: 66.08 MB / 0.5607 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1889/0.5549, allocations: 141.4 MB / 0.6987 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003855/0.5588, allocations: 1.583 MB / 0.7003 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004553/0.5592, allocations: 23.81 kB / 0.7003 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.5599, allocations: 198.6 kB / 0.7005 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.5622, allocations: 0.7943 MB / 0.7013 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.5639, allocations: 0.6776 MB / 0.7019 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5654, allocations: 1.162 MB / 0.7031 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.5659, allocations: 278.1 kB / 0.7033 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008808/0.5668, allocations: 0.4904 MB / 0.7038 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.5674, allocations: 382.4 kB / 0.7042 GB, free: 416 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.5675, allocations: 44 kB / 0.7042 GB, free: 372 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.5686, allocations: 499.2 kB / 0.7047 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.5688, allocations: 171.4 kB / 0.7049 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003421/0.5691, allocations: 223 kB / 0.7051 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.5706, allocations: 0.9616 MB / 0.706 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5706, allocations: 0 / 0.706 GB, free: 14.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5706, allocations: 0 / 0.706 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.5706, allocations: 0 / 0.706 GB, free: 14.52 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.001913/0.5725, allocations: 0.8417 MB / 0.7068 GB, free: 13.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5726, allocations: 8.031 kB / 0.7068 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.5727, allocations: 78.53 kB / 0.7069 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003834/0.573, allocations: 79.61 kB / 0.707 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.5737, allocations: 348.8 kB / 0.7073 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.5739, allocations: 88.33 kB / 0.7074 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.5739, allocations: 43.95 kB / 0.7075 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.5751, allocations: 0.7386 MB / 0.7082 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.5751, allocations: 4 kB / 0.7082 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.5752, allocations: 19.98 kB / 0.7082 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.5752, allocations: 20.64 kB / 0.7082 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009564/0.5762, allocations: 406.1 kB / 0.7086 GB, free: 11.68 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.003311/0.5795, allocations: 1.988 MB / 0.7105 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.5803, allocations: 331.3 kB / 0.7109 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.5807, allocations: 161.3 kB / 0.711 GB, free: 9.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.5807, allocations: 4.281 kB / 0.711 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.5815, allocations: 414.1 kB / 0.7114 GB, free: 8.652 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.765e-06/0.5815, allocations: 0 / 0.7114 GB, free: 8.652 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.01271/0.5942, allocations: 3.019 MB / 0.7144 GB, free: 5.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.5943, allocations: 140.5 kB / 0.7145 GB, free: 5.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005099/0.5948, allocations: 393.5 kB / 0.7149 GB, free: 4.996 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.5948, allocations: 33.7 kB / 0.7149 GB, free: 4.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.5951, allocations: 264.5 kB / 0.7152 GB, free: 4.695 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.5953, allocations: 170.6 kB / 0.7153 GB, free: 4.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.5955, allocations: 126.2 kB / 0.7154 GB, free: 4.398 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5957, allocations: 354.8 kB / 0.7158 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007069/0.5964, allocations: 254.8 kB / 0.716 GB, free: 3.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000849/0.5972, allocations: 0.4913 MB / 0.7165 GB, free: 3.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.5986, allocations: 0.6316 MB / 0.7171 GB, free: 2.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5986, allocations: 8 kB / 0.7171 GB, free: 2.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002112/0.6007, allocations: 0.8195 MB / 0.7179 GB, free: 1.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.6008, allocations: 38.34 kB / 0.718 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6008, allocations: 4 kB / 0.718 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/0.6013, allocations: 116.8 kB / 0.7181 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005658/0.6018, allocations: 131.8 kB / 0.7182 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007248/0.6026, allocations: 0.6733 MB / 0.7189 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.6031, allocations: 52.02 kB / 0.7189 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.6032, allocations: 47.98 kB / 0.719 GB, free: 0.5508 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.0003483/0.6036, allocations: 192.4 kB / 0.7191 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.944e-05/0.6037, allocations: 47.72 kB / 0.7192 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.6057, allocations: 0.7484 MB / 0.7199 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6057, allocations: 8 kB / 0.7199 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6057, allocations: 3.938 kB / 0.7199 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.6057, allocations: 3.984 kB / 0.7199 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.6087, allocations: 1.175 MB / 0.7211 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.6087, allocations: 3.938 kB / 0.7211 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.6091, allocations: 111.7 kB / 0.7212 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005706/0.6097, allocations: 104.9 kB / 0.7213 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/0.6098, allocations: 16 kB / 0.7213 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.6119, allocations: 1.709 MB / 0.723 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.6119, allocations: 4.031 kB / 0.723 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.6144, allocations: 0.9714 MB / 0.7239 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/0.6147, allocations: 83.72 kB / 0.724 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.886e-05/0.6148, allocations: 15.94 kB / 0.724 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004647/0.6153, allocations: 47.94 kB / 0.7241 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.6155, allocations: 59.91 kB / 0.7241 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.6156, allocations: 39.92 kB / 0.7242 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000375/0.6159, allocations: 271.1 kB / 0.7244 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6159, allocations: 0 / 0.7244 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008615/0.6168, allocations: 231.7 kB / 0.7246 GB, free: 10.49 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.003382/0.6202, allocations: 1.702 MB / 0.7263 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.6218, allocations: 0.6089 MB / 0.7269 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6218, allocations: 0 / 0.7269 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009162/0.6227, allocations: 398.1 kB / 0.7273 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.6238, allocations: 216 kB / 0.7275 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009336/0.6332, allocations: 5.192 MB / 0.7326 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.6335, allocations: 248.9 kB / 0.7328 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006495/0.6342, allocations: 156.1 kB / 0.7329 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.6346, allocations: 199.4 kB / 0.7331 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of SimCode: time 1.292e-06/0.6346, allocations: 0 / 0.7331 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3111/0.9457, allocations: 19.19 MB / 0.7519 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.35, allocations: 7.984 kB / 0.7519 GB, free: 161.3 MB / 0.5606 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000997208 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable trapezoid.T_start in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv. Warning: Get data of variable trapezoid.T_start from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv failed! Error: Could not read variable trapezoid.count in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv. Warning: Get data of variable trapezoid.count from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.51955178519711]