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.001326/0.001326, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001431/0.001431, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.509/1.509, allocations: 230.4 MB / 254 MB, free: 15.01 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.2319/0.2319, allocations: 46.92 MB / 357 MB, free: 10.19 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.002293/0.002293, allocations: 83.88 kB / 0.491 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1384, allocations: 66.05 MB / 0.5555 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.4917/0.6301, allocations: 163.9 MB / 0.7155 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003667/0.6337, allocations: 1.665 MB / 0.7171 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.6343, allocations: 19.81 kB / 0.7172 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007384/0.635, allocations: 222.5 kB / 0.7174 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.6378, allocations: 0.7883 MB / 0.7181 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.6398, allocations: 0.6708 MB / 0.7188 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002115/0.6419, allocations: 1.15 MB / 0.7199 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006367/0.6425, allocations: 297.3 kB / 0.7202 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.6437, allocations: 486.3 kB / 0.7207 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.6443, allocations: 398.4 kB / 0.7211 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-05/0.6444, allocations: 44 kB / 0.7211 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.646, allocations: 0.5851 MB / 0.7217 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.6462, allocations: 155.5 kB / 0.7218 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.6465, allocations: 270.7 kB / 0.7221 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.6484, allocations: 0.9719 MB / 0.723 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6484, allocations: 4 kB / 0.723 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6484, allocations: 0 / 0.723 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.6484, allocations: 0 / 0.723 GB, free: 5.449 MB / 0.5294 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.002154/0.6506, allocations: 0.9208 MB / 0.7239 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6506, allocations: 8.031 kB / 0.7239 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.6507, allocations: 86.45 kB / 0.724 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.6512, allocations: 75.61 kB / 0.7241 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.6519, allocations: 410.7 kB / 0.7245 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.652, allocations: 62.69 kB / 0.7245 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/0.6521, allocations: 44.77 kB / 0.7246 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.6531, allocations: 0.5127 MB / 0.7251 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.6532, allocations: 3.938 kB / 0.7251 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.6532, allocations: 27.97 kB / 0.7251 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.6533, allocations: 16.64 kB / 0.7251 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009603/0.6542, allocations: 406.2 kB / 0.7255 GB, free: 2.75 MB / 0.5294 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.003598/0.6578, allocations: 2.446 MB / 0.7279 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/0.6588, allocations: 333.5 kB / 0.7282 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.6592, allocations: 159.3 kB / 0.7284 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.6593, allocations: 8.281 kB / 0.7284 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006025/0.6599, allocations: 263.8 kB / 0.7286 GB, free: 15.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.6599, allocations: 0 / 0.7286 GB, free: 15.35 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.01306/0.6729, allocations: 3.249 MB / 0.7318 GB, free: 11.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/0.673, allocations: 136.5 kB / 0.7319 GB, free: 11.81 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005273/0.6735, allocations: 385.6 kB / 0.7323 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.6736, allocations: 37.7 kB / 0.7323 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.6739, allocations: 264.4 kB / 0.7326 GB, free: 11.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.674, allocations: 166.6 kB / 0.7327 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.6743, allocations: 126.3 kB / 0.7329 GB, free: 10.83 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.6745, allocations: 358.8 kB / 0.7332 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.6751, allocations: 213.2 kB / 0.7334 GB, free: 10.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008156/0.676, allocations: 408.2 kB / 0.7338 GB, free: 9.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.6775, allocations: 0.6317 MB / 0.7344 GB, free: 9.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.6775, allocations: 7.938 kB / 0.7344 GB, free: 9.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002179/0.6797, allocations: 0.7905 MB / 0.7352 GB, free: 8.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.6797, allocations: 41.64 kB / 0.7352 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6797, allocations: 4.656 kB / 0.7352 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.6802, allocations: 116.8 kB / 0.7354 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.6808, allocations: 131.8 kB / 0.7355 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007785/0.6815, allocations: 0.6811 MB / 0.7361 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.6821, allocations: 48.02 kB / 0.7362 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.6821, allocations: 47.98 kB / 0.7362 GB, free: 7.172 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.000362/0.6825, allocations: 196.4 kB / 0.7364 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.6826, allocations: 55.66 kB / 0.7365 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.6847, allocations: 0.7275 MB / 0.7372 GB, free: 6.172 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.6847, allocations: 4 kB / 0.7372 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6847, allocations: 0 / 0.7372 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.6847, allocations: 7.922 kB / 0.7372 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/0.6875, allocations: 1.273 MB / 0.7384 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6875, allocations: 0 / 0.7384 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.6881, allocations: 107.8 kB / 0.7385 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006478/0.6887, allocations: 104.9 kB / 0.7386 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.6887, allocations: 23.98 kB / 0.7387 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.6909, allocations: 1.822 MB / 0.7404 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6909, allocations: 0 / 0.7404 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.6934, allocations: 0.976 MB / 0.7414 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.6937, allocations: 168.8 kB / 0.7416 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.6938, allocations: 12 kB / 0.7416 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.6943, allocations: 43.95 kB / 0.7416 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.6944, allocations: 55.92 kB / 0.7417 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/0.6945, allocations: 35.98 kB / 0.7417 GB, free: 1.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003618/0.6949, allocations: 275.1 kB / 0.742 GB, free: 1.016 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6949, allocations: 0 / 0.742 GB, free: 1.016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009389/0.6958, allocations: 235.7 kB / 0.7422 GB, free: 0.7852 MB / 0.545 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.003805/0.6996, allocations: 1.706 MB / 0.7439 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.7013, allocations: 0.5795 MB / 0.7444 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7013, allocations: 0 / 0.7444 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.7024, allocations: 402.8 kB / 0.7448 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7036, allocations: 215.7 kB / 0.745 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.7134, allocations: 5.078 MB / 0.75 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.714, allocations: 0.8514 MB / 0.7508 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006634/0.7147, allocations: 164.6 kB / 0.751 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.7151, allocations: 187.4 kB / 0.7511 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.7151, allocations: 0 / 0.7511 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05202/0.7671, allocations: 18.32 MB / 0.769 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.63, allocations: 7.781 kB / 0.769 GB, free: 5.121 MB / 0.5762 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: 16.995083834044635]