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.001302/0.001302, allocations: 117.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001652, allocations: 75.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3701, allocations: 62.42 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.1878/0.5579, allocations: 163.4 MB / 0.6901 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.5613, allocations: 1.669 MB / 0.6917 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006866/0.562, allocations: 15.88 kB / 0.6917 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000872/0.5629, allocations: 210.5 kB / 0.6919 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.5655, allocations: 0.7921 MB / 0.6927 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.5673, allocations: 0.6717 MB / 0.6934 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.5689, allocations: 1.166 MB / 0.6945 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006314/0.5695, allocations: 322.9 kB / 0.6948 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001209/0.5707, allocations: 477.1 kB / 0.6953 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008227/0.5716, allocations: 386.5 kB / 0.6956 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.5717, allocations: 44 kB / 0.6957 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.5729, allocations: 0.5695 MB / 0.6962 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.5732, allocations: 159.5 kB / 0.6964 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004589/0.5736, allocations: 270.8 kB / 0.6966 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.5755, allocations: 0.9772 MB / 0.6976 GB, free: 6.047 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5755, allocations: 0 / 0.6976 GB, free: 6.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5755, allocations: 0 / 0.6976 GB, free: 6.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.446e-05/0.5755, allocations: 0 / 0.6976 GB, free: 6.047 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.002471/0.578, allocations: 0.917 MB / 0.6985 GB, free: 5.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5781, allocations: 12.03 kB / 0.6985 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.5782, allocations: 74.53 kB / 0.6986 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004678/0.5787, allocations: 79.61 kB / 0.6986 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/0.5795, allocations: 426.5 kB / 0.6991 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.991e-05/0.5796, allocations: 58.64 kB / 0.6991 GB, free: 4.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.894e-05/0.5797, allocations: 39.95 kB / 0.6991 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.5808, allocations: 0.5244 MB / 0.6997 GB, free: 3.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.5808, allocations: 3.938 kB / 0.6997 GB, free: 3.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.5809, allocations: 12 kB / 0.6997 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.5809, allocations: 24.64 kB / 0.6997 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.5819, allocations: 394.2 kB / 0.7001 GB, free: 3.355 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.003553/0.5855, allocations: 2.466 MB / 0.7025 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.5864, allocations: 344.7 kB / 0.7028 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.5869, allocations: 169.2 kB / 0.703 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.587, allocations: 8.266 kB / 0.703 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007051/0.5877, allocations: 268.8 kB / 0.7032 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.5877, allocations: 0 / 0.7032 GB, free: 15.91 MB / 0.5606 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.01197/0.5997, allocations: 3.258 MB / 0.7064 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.5998, allocations: 162.2 kB / 0.7066 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.6004, allocations: 381.6 kB / 0.7069 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.6005, allocations: 37.7 kB / 0.707 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.6007, allocations: 260.5 kB / 0.7072 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.6009, allocations: 166.6 kB / 0.7074 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.6012, allocations: 122.3 kB / 0.7075 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.6014, allocations: 358.8 kB / 0.7078 GB, free: 11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005796/0.602, allocations: 221.1 kB / 0.708 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007348/0.6027, allocations: 413 kB / 0.7084 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.6045, allocations: 0.6278 MB / 0.7091 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.6045, allocations: 4 kB / 0.7091 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003005/0.6075, allocations: 0.7984 MB / 0.7098 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/0.6076, allocations: 37.69 kB / 0.7099 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.6077, allocations: 11.92 kB / 0.7099 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.6083, allocations: 113.4 kB / 0.71 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.6092, allocations: 143.7 kB / 0.7101 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009934/0.6102, allocations: 0.6694 MB / 0.7108 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007985/0.611, allocations: 47.95 kB / 0.7108 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.6111, allocations: 52.05 kB / 0.7109 GB, free: 7.672 MB / 0.5606 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.000502/0.6116, allocations: 195.9 kB / 0.7111 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.6118, allocations: 51.67 kB / 0.7111 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002857/0.6147, allocations: 0.7329 MB / 0.7118 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.6148, allocations: 8 kB / 0.7118 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.6148, allocations: 3.938 kB / 0.7118 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6148, allocations: 7.969 kB / 0.7119 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/0.6186, allocations: 1.273 MB / 0.7131 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6186, allocations: 4.156 kB / 0.7131 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/0.6194, allocations: 107.8 kB / 0.7132 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/0.6202, allocations: 100.8 kB / 0.7133 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.6203, allocations: 27.92 kB / 0.7133 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.6232, allocations: 1.822 MB / 0.7151 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6232, allocations: 0 / 0.7151 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.6266, allocations: 0.9751 MB / 0.7161 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.627, allocations: 164.8 kB / 0.7162 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.6271, allocations: 15.98 kB / 0.7162 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.6279, allocations: 47.95 kB / 0.7163 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.6281, allocations: 55.92 kB / 0.7163 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.6283, allocations: 39.92 kB / 0.7164 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000585/0.6289, allocations: 271.1 kB / 0.7166 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4e-07/0.6289, allocations: 0 / 0.7166 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001625/0.6305, allocations: 231.7 kB / 0.7168 GB, free: 1.27 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.2733/0.9039, allocations: 1.717 MB / 0.7185 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.9058, allocations: 0.6029 MB / 0.7191 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9059, allocations: 1.031 kB / 0.7191 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009637/0.9068, allocations: 415.8 kB / 0.7195 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.908, allocations: 210.9 kB / 0.7197 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007593/0.9156, allocations: 5.079 MB / 0.7247 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.916, allocations: 0.8584 MB / 0.7255 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005906/0.9166, allocations: 156.5 kB / 0.7257 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/0.9169, allocations: 194.7 kB / 0.7258 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.9169, allocations: 0 / 0.7258 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04451/0.9615, allocations: 18.4 MB / 0.7438 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.17, allocations: 7.484 kB / 0.7438 GB, free: 165.3 MB / 0.5606 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