Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001359/0.001359, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001464/0.001464, allocations: 203.1 kB / 23.73 MB, free: 4.414 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.388/1.388, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.219/0.219, allocations: 46.95 MB / 360.8 MB, free: 3.91 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.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 79.88 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3826, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2004/0.5829, allocations: 161.5 MB / 0.7184 GB, free: 1.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00454/0.5875, allocations: 2.037 MB / 0.7204 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005298/0.588, allocations: 23.75 kB / 0.7204 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008835/0.5889, allocations: 286 kB / 0.7207 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003324/0.5922, allocations: 1.203 MB / 0.7219 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.5941, allocations: 0.6887 MB / 0.7226 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.5964, allocations: 1.496 MB / 0.724 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006153/0.597, allocations: 363.8 kB / 0.7244 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009992/0.598, allocations: 0.5839 MB / 0.7249 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.5986, allocations: 442 kB / 0.7254 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.5987, allocations: 48 kB / 0.7254 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.6003, allocations: 0.6787 MB / 0.7261 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.6005, allocations: 151.5 kB / 0.7262 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.6008, allocations: 274.8 kB / 0.7265 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.6026, allocations: 1.211 MB / 0.7277 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.6026, allocations: 0 / 0.7277 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6026, allocations: 0 / 0.7277 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.6027, allocations: 0 / 0.7277 GB, free: 8.41 MB / 0.5606 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.001814/0.6045, allocations: 0.9325 MB / 0.7286 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6045, allocations: 11.97 kB / 0.7286 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.6046, allocations: 78.53 kB / 0.7287 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009786/0.6056, allocations: 151.5 kB / 0.7288 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.6064, allocations: 393.7 kB / 0.7292 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.6065, allocations: 29 kB / 0.7292 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.6065, allocations: 39.94 kB / 0.7292 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.6078, allocations: 0.8489 MB / 0.7301 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.6078, allocations: 3.984 kB / 0.7301 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/0.6079, allocations: 20 kB / 0.7301 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.6079, allocations: 12 kB / 0.7301 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.6088, allocations: 407.6 kB / 0.7305 GB, free: 5.32 MB / 0.5606 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.002786/0.6116, allocations: 1.88 MB / 0.7323 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.6122, allocations: 274.7 kB / 0.7326 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.6125, allocations: 133 kB / 0.7327 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/0.6127, allocations: 51.84 kB / 0.7328 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.026e-05/0.6128, allocations: 34.56 kB / 0.7328 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 2.284e-06/0.6128, allocations: 0 / 0.7328 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002364/0.6151, allocations: 0.6306 MB / 0.7334 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6152, allocations: 132.5 kB / 0.7335 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.6158, allocations: 457.8 kB / 0.734 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.6159, allocations: 33.7 kB / 0.734 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.6161, allocations: 284.2 kB / 0.7343 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.6162, allocations: 99.16 kB / 0.7344 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.6164, allocations: 113.6 kB / 0.7345 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.6166, allocations: 354.8 kB / 0.7348 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.617, allocations: 143.9 kB / 0.735 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.6176, allocations: 352.4 kB / 0.7353 GB, free: 160 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2227/0.8403, allocations: 417 kB / 0.7357 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.8403, allocations: 1.531 kB / 0.7357 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001567/0.8419, allocations: 0.5317 MB / 0.7362 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.8419, allocations: 10.31 kB / 0.7362 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.8419, allocations: 4.125 kB / 0.7362 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.8441, allocations: 271.8 kB / 0.7365 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.8446, allocations: 103.1 kB / 0.7366 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.8456, allocations: 0.6037 MB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.8462, allocations: 51.02 kB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.8463, allocations: 46.45 kB / 0.7373 GB, free: 175 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.0003572/0.8466, allocations: 182.2 kB / 0.7374 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.8468, allocations: 54.59 kB / 0.7375 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.8494, allocations: 1.031 MB / 0.7385 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.8494, allocations: 5.469 kB / 0.7385 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.8494, allocations: 0 / 0.7385 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.8494, allocations: 0 / 0.7385 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.8511, allocations: 0.8907 MB / 0.7394 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.8511, allocations: 7.875 kB / 0.7394 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.8513, allocations: 46.56 kB / 0.7394 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/0.8529, allocations: 261 kB / 0.7397 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.853, allocations: 11.16 kB / 0.7397 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006933/0.8537, allocations: 0.6089 MB / 0.7403 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8537, allocations: 0 / 0.7403 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.8547, allocations: 0.5068 MB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.8548, allocations: 63.91 kB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/0.8549, allocations: 9.359 kB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.8553, allocations: 15.23 kB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.8553, allocations: 20.72 kB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.8554, allocations: 20.48 kB / 0.7409 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003684/0.8557, allocations: 389.6 kB / 0.7413 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8557, allocations: 0 / 0.7413 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007007/0.8564, allocations: 228.2 kB / 0.7415 GB, free: 172.9 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.001601/0.858, allocations: 1.227 MB / 0.7427 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.8592, allocations: 355.5 kB / 0.743 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.8592, allocations: 3.125 kB / 0.743 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.8598, allocations: 160.5 kB / 0.7432 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.8613, allocations: 356.7 kB / 0.7435 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005863/0.8672, allocations: 4.699 MB / 0.7481 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.8673, allocations: 242.4 kB / 0.7483 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008506/0.8682, allocations: 0.559 MB / 0.7489 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.8685, allocations: 223.3 kB / 0.7491 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.8685, allocations: 0 / 0.7491 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.9157, allocations: 21.34 MB / 0.7699 GB, free: 144 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.68, allocations: 4.062 kB / 0.77 GB, free: 144 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 16.640141715761274]