Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 113.6 kB / 19.69 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 218 kB / 23.01 MB, free: 5.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.23 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 71.89 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1392, allocations: 61.03 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4709/0.61, allocations: 190.7 MB / 0.7024 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005553/0.6156, allocations: 2.16 MB / 0.7045 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008195/0.6164, allocations: 19.81 kB / 0.7046 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.6176, allocations: 302 kB / 0.7048 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004293/0.6219, allocations: 1.444 MB / 0.7063 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.624, allocations: 0.6999 MB / 0.7069 GB, free: 284 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.6262, allocations: 1.492 MB / 0.7084 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006755/0.6269, allocations: 359.8 kB / 0.7087 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.6279, allocations: 0.5761 MB / 0.7093 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006588/0.6286, allocations: 454.1 kB / 0.7097 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.6287, allocations: 48 kB / 0.7098 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.6307, allocations: 1.018 MB / 0.7108 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.6309, allocations: 163.3 kB / 0.7109 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003601/0.6312, allocations: 318.5 kB / 0.7112 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.6333, allocations: 1.336 MB / 0.7125 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6333, allocations: 7.938 kB / 0.7126 GB, free: 10.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6333, allocations: 0 / 0.7126 GB, free: 10.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.6333, allocations: 0 / 0.7126 GB, free: 10.51 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00196/0.6353, allocations: 0.9636 MB / 0.7135 GB, free: 9.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.6353, allocations: 12.03 kB / 0.7135 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.6354, allocations: 82.47 kB / 0.7136 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.6364, allocations: 143.5 kB / 0.7137 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008601/0.6373, allocations: 409.7 kB / 0.7141 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.6373, allocations: 29 kB / 0.7141 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.6374, allocations: 36 kB / 0.7142 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.6385, allocations: 0.5515 MB / 0.7147 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6385, allocations: 3.938 kB / 0.7147 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.6385, allocations: 24 kB / 0.7147 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.6386, allocations: 11.98 kB / 0.7147 GB, free: 8.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000847/0.6394, allocations: 403.6 kB / 0.7151 GB, free: 7.762 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.003221/0.6426, allocations: 2.553 MB / 0.7176 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.6432, allocations: 275.3 kB / 0.7179 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.6435, allocations: 137.8 kB / 0.718 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009463/0.6445, allocations: 406.2 kB / 0.7184 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.6445, allocations: 34.56 kB / 0.7184 GB, free: 4.141 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 2.495e-06/0.6445, allocations: 0 / 0.7184 GB, free: 4.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.002534/0.6471, allocations: 0.6383 MB / 0.7191 GB, free: 3.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/0.6472, allocations: 132.5 kB / 0.7192 GB, free: 3.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.6477, allocations: 441.9 kB / 0.7196 GB, free: 2.895 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.918e-05/0.6478, allocations: 33.7 kB / 0.7196 GB, free: 2.855 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.648, allocations: 276.2 kB / 0.7199 GB, free: 2.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.6482, allocations: 115 kB / 0.72 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.6483, allocations: 101.7 kB / 0.7201 GB, free: 2.363 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.6485, allocations: 362.7 kB / 0.7205 GB, free: 2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.6489, allocations: 139.9 kB / 0.7206 GB, free: 1.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.6494, allocations: 276 kB / 0.7209 GB, free: 1.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.6503, allocations: 416.5 kB / 0.7213 GB, free: 1.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.6503, allocations: 4 kB / 0.7213 GB, free: 1.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001221/0.6515, allocations: 0.5221 MB / 0.7218 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6515, allocations: 15.92 kB / 0.7218 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6516, allocations: 4 kB / 0.7218 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/0.6536, allocations: 264.9 kB / 0.722 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.6541, allocations: 108.9 kB / 0.7221 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/0.6551, allocations: 0.5953 MB / 0.7227 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.6555, allocations: 47.66 kB / 0.7228 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/0.6555, allocations: 56.03 kB / 0.7228 GB, free: 15.44 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002967/0.6558, allocations: 185.6 kB / 0.723 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.656, allocations: 51.67 kB / 0.723 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.6576, allocations: 0.6542 MB / 0.7237 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.6576, allocations: 4 kB / 0.7237 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6576, allocations: 0 / 0.7237 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.6576, allocations: 3.938 kB / 0.7237 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.6595, allocations: 0.9509 MB / 0.7246 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6595, allocations: 0 / 0.7246 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.6598, allocations: 55.89 kB / 0.7247 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.6616, allocations: 260.6 kB / 0.7249 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.6616, allocations: 11.98 kB / 0.7249 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009462/0.6626, allocations: 0.5992 MB / 0.7255 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6626, allocations: 3.938 kB / 0.7255 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.6639, allocations: 0.5042 MB / 0.726 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.6641, allocations: 51.64 kB / 0.7261 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.6642, allocations: 26.89 kB / 0.7261 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.6646, allocations: 15.98 kB / 0.7261 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.6647, allocations: 31.83 kB / 0.7261 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.6647, allocations: 19.97 kB / 0.7262 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005259/0.6652, allocations: 386.8 kB / 0.7265 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6652, allocations: 3.938 kB / 0.7265 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008655/0.6661, allocations: 255.5 kB / 0.7268 GB, free: 11.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002565/0.6687, allocations: 1.322 MB / 0.7281 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.6701, allocations: 359.5 kB / 0.7284 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6701, allocations: 4 kB / 0.7284 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007452/0.6708, allocations: 148.9 kB / 0.7286 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.6725, allocations: 359.6 kB / 0.7289 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009193/0.6817, allocations: 4.708 MB / 0.7335 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000573/0.6823, allocations: 0.8472 MB / 0.7343 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007626/0.6831, allocations: 196.6 kB / 0.7345 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.6834, allocations: 211.3 kB / 0.7347 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.6835, allocations: 0 / 0.7347 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05879/0.7422, allocations: 20.7 MB / 0.7549 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.36, allocations: 3.938 kB / 0.7549 GB, free: 14.12 MB / 0.5919 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.482827422907576]