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.001698/0.001698, allocations: 104.2 kB / 20.48 MB, free: 1.125 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.001492/0.001492, allocations: 214.4 kB / 23.77 MB, free: 4.332 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.433/1.433, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2225/0.2225, allocations: 46.95 MB / 360.8 MB, free: 3.891 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.002307/0.002307, allocations: 75.88 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3225, allocations: 66.08 MB / 0.5607 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2129/0.5355, allocations: 141.4 MB / 0.6988 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003832/0.5393, allocations: 1.583 MB / 0.7003 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.54, allocations: 15.88 kB / 0.7004 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009247/0.5409, allocations: 202.6 kB / 0.7006 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.5438, allocations: 0.7984 MB / 0.7013 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.5459, allocations: 0.6878 MB / 0.702 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001876/0.5478, allocations: 1.162 MB / 0.7031 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.5484, allocations: 274.1 kB / 0.7034 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.5496, allocations: 494.2 kB / 0.7039 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.5504, allocations: 382.3 kB / 0.7042 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.5505, allocations: 44 kB / 0.7043 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.5517, allocations: 499.2 kB / 0.7048 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.552, allocations: 163.7 kB / 0.7049 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.5523, allocations: 235 kB / 0.7051 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.5539, allocations: 0.9538 MB / 0.7061 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5539, allocations: 0 / 0.7061 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5539, allocations: 0 / 0.7061 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.554, allocations: 0 / 0.7061 GB, free: 14.68 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.001863/0.5558, allocations: 0.8455 MB / 0.7069 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5559, allocations: 12.03 kB / 0.7069 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.556, allocations: 74.53 kB / 0.707 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.5564, allocations: 75.61 kB / 0.707 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.557, allocations: 344.9 kB / 0.7074 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.5571, allocations: 88.34 kB / 0.7075 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.5572, allocations: 43.94 kB / 0.7075 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.5584, allocations: 0.7503 MB / 0.7082 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.5584, allocations: 11.86 kB / 0.7082 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.5584, allocations: 16 kB / 0.7083 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.5585, allocations: 16.66 kB / 0.7083 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009278/0.5594, allocations: 398.2 kB / 0.7087 GB, free: 11.84 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.003227/0.5626, allocations: 1.992 MB / 0.7106 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.5635, allocations: 343.2 kB / 0.7109 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.5639, allocations: 149.3 kB / 0.7111 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.5639, allocations: 4.281 kB / 0.7111 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006525/0.5645, allocations: 410.2 kB / 0.7115 GB, free: 8.812 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.5645, allocations: 4 kB / 0.7115 GB, free: 8.809 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.01237/0.5769, allocations: 3.027 MB / 0.7144 GB, free: 5.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.577, allocations: 132.5 kB / 0.7146 GB, free: 5.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.5775, allocations: 397.4 kB / 0.7149 GB, free: 5.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.5775, allocations: 37.7 kB / 0.715 GB, free: 5.102 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.5777, allocations: 260.5 kB / 0.7152 GB, free: 4.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.5779, allocations: 166.6 kB / 0.7154 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5781, allocations: 130.3 kB / 0.7155 GB, free: 4.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.5783, allocations: 354.8 kB / 0.7158 GB, free: 4.191 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.5789, allocations: 242.8 kB / 0.7161 GB, free: 3.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/0.5797, allocations: 0.5069 MB / 0.7166 GB, free: 3.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.5811, allocations: 0.6317 MB / 0.7172 GB, free: 2.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5811, allocations: 0 / 0.7172 GB, free: 2.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002006/0.5831, allocations: 0.8235 MB / 0.718 GB, free: 1.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.5831, allocations: 37.7 kB / 0.718 GB, free: 1.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5831, allocations: 4 kB / 0.718 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/0.5836, allocations: 112.8 kB / 0.7181 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.5841, allocations: 140.2 kB / 0.7183 GB, free: 1.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000656/0.5848, allocations: 0.6655 MB / 0.7189 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.5853, allocations: 55.94 kB / 0.719 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.5854, allocations: 40 kB / 0.719 GB, free: 0.707 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.0003269/0.5857, allocations: 204.4 kB / 0.7192 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.243e-05/0.5858, allocations: 51.78 kB / 0.7193 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.5878, allocations: 0.7328 MB / 0.72 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.5878, allocations: 4 kB / 0.72 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.5879, allocations: 7.938 kB / 0.72 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5879, allocations: 0 / 0.72 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.5905, allocations: 1.19 MB / 0.7211 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5905, allocations: 0 / 0.7211 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.591, allocations: 107.8 kB / 0.7212 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005604/0.5916, allocations: 108.9 kB / 0.7213 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.5916, allocations: 19.98 kB / 0.7214 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.5937, allocations: 1.694 MB / 0.723 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5937, allocations: 7.969 kB / 0.723 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.5961, allocations: 0.9829 MB / 0.724 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.5964, allocations: 79.7 kB / 0.7241 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/0.5964, allocations: 16 kB / 0.7241 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004748/0.5969, allocations: 39.95 kB / 0.7241 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.5971, allocations: 63.89 kB / 0.7242 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-05/0.5971, allocations: 35.92 kB / 0.7242 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003491/0.5975, allocations: 271.2 kB / 0.7245 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5975, allocations: 4 kB / 0.7245 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008223/0.5983, allocations: 235.7 kB / 0.7247 GB, free: 10.64 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.00338/0.6017, allocations: 1.694 MB / 0.7264 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.6034, allocations: 0.6166 MB / 0.727 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6034, allocations: 0 / 0.727 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008919/0.6043, allocations: 406.2 kB / 0.7273 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6054, allocations: 213.1 kB / 0.7275 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009252/0.6147, allocations: 5.177 MB / 0.7326 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.615, allocations: 252.9 kB / 0.7328 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006029/0.6156, allocations: 160.6 kB / 0.733 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.6159, allocations: 191.4 kB / 0.7332 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/0.6159, allocations: 0 / 0.7332 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3164/0.9323, allocations: 19.27 MB / 0.752 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.3, allocations: 11.78 kB / 0.752 GB, free: 161.5 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.381945183005882]