Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 117.5 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 192.7 kB / 20.07 MB, free: 2.992 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.516/1.516, allocations: 207.6 MB / 230.5 MB, free: 4.059 MB / 174.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.4298/0.4298, allocations: 44.23 MB / 326.5 MB, free: 7.234 MB / 254.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.88 kB / 462.2 MB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2824, allocations: 60.99 MB / 0.5109 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4906/0.773, allocations: 188.4 MB / 0.6948 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007512/0.7805, allocations: 7.041 MB / 0.7017 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.7813, allocations: 16.28 kB / 0.7017 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008816/0.7822, allocations: 350 kB / 0.7021 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007159/0.7894, allocations: 2.406 MB / 0.7044 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.7921, allocations: 0.944 MB / 0.7053 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002601/0.7947, allocations: 1.692 MB / 0.707 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007461/0.7955, allocations: 402.8 kB / 0.7074 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.797, allocations: 0.8518 MB / 0.7082 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005556/0.7976, allocations: 0.5144 MB / 0.7087 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.7977, allocations: 58.14 kB / 0.7088 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.8008, allocations: 1.521 MB / 0.7102 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.801, allocations: 175.6 kB / 0.7104 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.8015, allocations: 378.3 kB / 0.7108 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.8041, allocations: 1.748 MB / 0.7125 GB, free: 264 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.8041, allocations: 0 / 0.7125 GB, free: 264 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8041, allocations: 0 / 0.7125 GB, free: 264 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.8041, allocations: 0.9062 kB / 0.7125 GB, free: 264 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001807/0.8059, allocations: 1.17 MB / 0.7136 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.806, allocations: 12.14 kB / 0.7136 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.919e-05/0.8061, allocations: 91.69 kB / 0.7137 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.8072, allocations: 160.9 kB / 0.7139 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.808, allocations: 0.5155 MB / 0.7144 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.808, allocations: 30.97 kB / 0.7144 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.8081, allocations: 41.03 kB / 0.7145 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009258/0.809, allocations: 0.6371 MB / 0.7151 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.809, allocations: 6.188 kB / 0.7151 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.8091, allocations: 31.7 kB / 0.7151 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.8091, allocations: 11.12 kB / 0.7151 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.8099, allocations: 495.8 kB / 0.7156 GB, free: 15.07 MB / 0.5137 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.003307/0.8132, allocations: 2.666 MB / 0.7182 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006195/0.8138, allocations: 299.5 kB / 0.7185 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.8141, allocations: 144.9 kB / 0.7186 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001432/0.8155, allocations: 1.305 MB / 0.7199 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.8155, allocations: 37.03 kB / 0.7199 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 9.297e-06/0.8155, allocations: 4.797 kB / 0.7199 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.001525/0.8171, allocations: 0.6997 MB / 0.7206 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.8172, allocations: 165 kB / 0.7208 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.8178, allocations: 0.5208 MB / 0.7213 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.8178, allocations: 32.02 kB / 0.7213 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.8181, allocations: 308.5 kB / 0.7216 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.8182, allocations: 124.7 kB / 0.7217 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.8184, allocations: 121.9 kB / 0.7218 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.8186, allocations: 359.6 kB / 0.7222 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.8188, allocations: 148.8 kB / 0.7223 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.8193, allocations: 316.9 kB / 0.7226 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.82, allocations: 473.9 kB / 0.7231 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.82, allocations: 4.5 kB / 0.7231 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009072/0.8209, allocations: 0.5702 MB / 0.7236 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.8209, allocations: 8 kB / 0.7237 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.8209, allocations: 7.25 kB / 0.7237 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.8223, allocations: 236.9 kB / 0.7239 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.8227, allocations: 115.8 kB / 0.724 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005067/0.8232, allocations: 0.5947 MB / 0.7246 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.8235, allocations: 55 kB / 0.7246 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.8236, allocations: 57.02 kB / 0.7247 GB, free: 8.742 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * 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 prepare postOptimizeDAE: time 0.0002523/0.8239, allocations: 196.5 kB / 0.7249 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.824, allocations: 61.66 kB / 0.7249 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.8253, allocations: 0.7383 MB / 0.7257 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8253, allocations: 3.219 kB / 0.7257 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8254, allocations: 3.984 kB / 0.7257 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.8254, allocations: 3.984 kB / 0.7257 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.8269, allocations: 1.026 MB / 0.7267 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8269, allocations: 2.531 kB / 0.7267 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.8271, allocations: 49.98 kB / 0.7267 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/0.8302, allocations: 446.2 kB / 0.7271 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.8302, allocations: 9.5 kB / 0.7271 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004792/0.8307, allocations: 0.5981 MB / 0.7277 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8307, allocations: 3.281 kB / 0.7277 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.8314, allocations: 0.4926 MB / 0.7282 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.8316, allocations: 138.7 kB / 0.7283 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.985e-05/0.8317, allocations: 25.94 kB / 0.7284 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.832, allocations: 14.97 kB / 0.7284 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.8321, allocations: 30.59 kB / 0.7284 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.8321, allocations: 21.23 kB / 0.7284 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004819/0.8326, allocations: 437.4 kB / 0.7289 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.8326, allocations: 0 / 0.7289 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009769/0.8336, allocations: 334.6 kB / 0.7292 GB, free: 5.645 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/0.8355, allocations: 1.409 MB / 0.7305 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007598/0.8362, allocations: 358.5 kB / 0.7309 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.8362, allocations: 1.375 kB / 0.7309 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.8365, allocations: 150.6 kB / 0.731 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.8382, allocations: 407.5 kB / 0.7314 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00717/0.8454, allocations: 5.041 MB / 0.7363 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.8459, allocations: 0.8676 MB / 0.7372 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008982/0.8468, allocations: 220.3 kB / 0.7374 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/0.8472, allocations: 227.4 kB / 0.7376 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.8472, allocations: 0 / 0.7376 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06377/0.911, allocations: 24.16 MB / 0.7612 GB, free: 6.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.73, allocations: 3.938 kB / 0.7612 GB, free: 6.195 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.966774571221322]