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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 77.47 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09747, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.3366/0.4341, allocations: 163.4 MB / 0.6284 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003232/0.4374, allocations: 1.668 MB / 0.6301 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000445/0.4379, allocations: 19.81 kB / 0.6301 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.4386, allocations: 214.6 kB / 0.6303 GB, free: 13.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.4407, allocations: 0.7731 MB / 0.631 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.4424, allocations: 0.6781 MB / 0.6317 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.4437, allocations: 1.15 MB / 0.6328 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005229/0.4443, allocations: 325.9 kB / 0.6331 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.4453, allocations: 470.3 kB / 0.6336 GB, free: 10.46 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006568/0.4459, allocations: 382.5 kB / 0.634 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.4461, allocations: 44 kB / 0.634 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.4472, allocations: 0.5295 MB / 0.6345 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.4474, allocations: 151.5 kB / 0.6347 GB, free: 9.363 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003489/0.4478, allocations: 270.8 kB / 0.6349 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.4491, allocations: 0.9621 MB / 0.6359 GB, free: 8.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4491, allocations: 4 kB / 0.6359 GB, free: 8.129 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4491, allocations: 4 kB / 0.6359 GB, free: 8.125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.4491, allocations: 0 / 0.6359 GB, free: 8.125 MB / 478.1 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.001775/0.4509, allocations: 0.9028 MB / 0.6367 GB, free: 7.168 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4509, allocations: 8.031 kB / 0.6367 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.643e-05/0.4511, allocations: 74.53 kB / 0.6368 GB, free: 7.078 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.4514, allocations: 79.31 kB / 0.6369 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.452, allocations: 390.4 kB / 0.6373 GB, free: 6.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.837e-05/0.4521, allocations: 58.69 kB / 0.6373 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/0.4521, allocations: 39.88 kB / 0.6374 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/0.4531, allocations: 0.5283 MB / 0.6379 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.4531, allocations: 0 / 0.6379 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.4532, allocations: 20 kB / 0.6379 GB, free: 5.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.4532, allocations: 20.64 kB / 0.6379 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.4541, allocations: 402.1 kB / 0.6383 GB, free: 5.473 MB / 478.1 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.002962/0.4571, allocations: 2.467 MB / 0.6407 GB, free: 2.828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007965/0.4579, allocations: 342.5 kB / 0.641 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.4583, allocations: 165.2 kB / 0.6412 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.4584, allocations: 12.27 kB / 0.6412 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.4589, allocations: 268.7 kB / 0.6415 GB, free: 2.027 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.823e-06/0.4589, allocations: 3.938 kB / 0.6415 GB, free: 2.023 MB / 478.1 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.01239/0.4713, allocations: 3.242 MB / 0.6446 GB, free: 14.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/0.4714, allocations: 170.1 kB / 0.6448 GB, free: 14.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004451/0.4719, allocations: 385.6 kB / 0.6452 GB, free: 14.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.4719, allocations: 37.7 kB / 0.6452 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.4721, allocations: 263.9 kB / 0.6454 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.4723, allocations: 157.7 kB / 0.6456 GB, free: 13.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.4725, allocations: 122.2 kB / 0.6457 GB, free: 13.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4726, allocations: 358.8 kB / 0.6461 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006496/0.4733, allocations: 221.1 kB / 0.6463 GB, free: 12.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007609/0.474, allocations: 409.1 kB / 0.6467 GB, free: 12.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.4754, allocations: 0.6394 MB / 0.6473 GB, free: 11.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.4754, allocations: 4 kB / 0.6473 GB, free: 11.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001955/0.4774, allocations: 0.7945 MB / 0.6481 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.4774, allocations: 33.7 kB / 0.6481 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4774, allocations: 4 kB / 0.6481 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/0.4779, allocations: 116.8 kB / 0.6482 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.4784, allocations: 140.1 kB / 0.6483 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005632/0.479, allocations: 0.6694 MB / 0.649 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.4795, allocations: 51.94 kB / 0.649 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.4796, allocations: 48.06 kB / 0.6491 GB, free: 9.801 MB / 494.1 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.0002585/0.4799, allocations: 200.2 kB / 0.6493 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.48, allocations: 47.44 kB / 0.6493 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.4821, allocations: 0.7366 MB / 0.65 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4821, allocations: 4 kB / 0.6501 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4821, allocations: 3.984 kB / 0.6501 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4821, allocations: 3.938 kB / 0.6501 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.4847, allocations: 1.284 MB / 0.6513 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4847, allocations: 0 / 0.6513 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.4852, allocations: 103.9 kB / 0.6514 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005745/0.4858, allocations: 116.8 kB / 0.6515 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.4858, allocations: 20 kB / 0.6515 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.4876, allocations: 1.805 MB / 0.6533 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.4876, allocations: 3.984 kB / 0.6533 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.4899, allocations: 0.9737 MB / 0.6543 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.4901, allocations: 164.5 kB / 0.6544 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.906e-05/0.4902, allocations: 15.91 kB / 0.6544 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.4907, allocations: 51.88 kB / 0.6545 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.4909, allocations: 55.88 kB / 0.6545 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.491, allocations: 35.98 kB / 0.6546 GB, free: 3.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.4912, allocations: 275.1 kB / 0.6548 GB, free: 3.629 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4913, allocations: 4 kB / 0.6548 GB, free: 3.625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007873/0.492, allocations: 235.9 kB / 0.6551 GB, free: 3.395 MB / 494.1 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 (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.003219/0.4953, allocations: 1.699 MB / 0.6567 GB, free: 1.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.4969, allocations: 0.6305 MB / 0.6573 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.497, allocations: 0 / 0.6573 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.4978, allocations: 414.7 kB / 0.6577 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.4989, allocations: 226.9 kB / 0.6579 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008729/0.5077, allocations: 5.127 MB / 0.663 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.5082, allocations: 0.8553 MB / 0.6638 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000734/0.5089, allocations: 152.6 kB / 0.6639 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.5093, allocations: 195.3 kB / 0.6641 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of SimCode: time 8.71e-07/0.5093, allocations: 4 kB / 0.6641 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.5535, allocations: 18.18 MB / 0.6819 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.16, allocations: 11.47 kB / 0.6819 GB, free: 7.781 MB / 0.5137 GB (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.002 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestSweptVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches