Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001791/0.001791, allocations: 117.6 kB / 18.5 MB, free: 4.582 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.002175/0.002175, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 44.9 MB / 349.6 MB, free: 1.727 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 63.2 kB / 491.8 MB, free: 30.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1193, allocations: 64.26 MB / 0.543 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5228/0.642, allocations: 181.7 MB / 0.7205 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007741/0.6498, allocations: 4.602 MB / 0.725 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000798/0.6506, allocations: 15.88 kB / 0.725 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.6516, allocations: 349.7 kB / 0.7253 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00508/0.6567, allocations: 1.798 MB / 0.7271 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.6592, allocations: 0.9479 MB / 0.728 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002494/0.6617, allocations: 1.714 MB / 0.7297 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007011/0.6624, allocations: 386.3 kB / 0.73 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/0.6642, allocations: 0.8526 MB / 0.7309 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008064/0.6651, allocations: 0.5136 MB / 0.7314 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.895e-05/0.6652, allocations: 56 kB / 0.7314 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.6678, allocations: 1.307 MB / 0.7327 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.668, allocations: 179.4 kB / 0.7329 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004236/0.6684, allocations: 374.4 kB / 0.7332 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.671, allocations: 1.639 MB / 0.7348 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.671, allocations: 0 / 0.7348 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6711, allocations: 4 kB / 0.7348 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.6711, allocations: 0 / 0.7348 GB, free: 10.05 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002315/0.6734, allocations: 1.12 MB / 0.7359 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.6734, allocations: 8.031 kB / 0.7359 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.6736, allocations: 86.52 kB / 0.736 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.6747, allocations: 159.5 kB / 0.7362 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.6757, allocations: 0.5085 MB / 0.7367 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.6758, allocations: 33 kB / 0.7367 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.6759, allocations: 44 kB / 0.7368 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.6771, allocations: 0.636 MB / 0.7374 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.6771, allocations: 3.938 kB / 0.7374 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.497e-05/0.6772, allocations: 27.98 kB / 0.7374 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.6772, allocations: 12 kB / 0.7374 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009955/0.6782, allocations: 0.4917 MB / 0.7379 GB, free: 6.777 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.00349/0.6817, allocations: 2.653 MB / 0.7405 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.6824, allocations: 298.7 kB / 0.7408 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.6827, allocations: 144.9 kB / 0.7409 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.6831, allocations: 437.5 kB / 0.7413 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.6832, allocations: 38.56 kB / 0.7414 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.664e-06/0.6832, allocations: 0 / 0.7414 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.00171/0.6849, allocations: 0.7104 MB / 0.7421 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.685, allocations: 158.2 kB / 0.7422 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.6857, allocations: 0.5185 MB / 0.7427 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.6857, allocations: 33.7 kB / 0.7427 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.686, allocations: 300.1 kB / 0.743 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.6861, allocations: 134.8 kB / 0.7432 GB, free: 1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.6863, allocations: 122.2 kB / 0.7433 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.6865, allocations: 370.8 kB / 0.7436 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.6868, allocations: 141 kB / 0.7438 GB, free: 372 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.6873, allocations: 326.9 kB / 0.7441 GB, free: 15.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007745/0.6881, allocations: 477.7 kB / 0.7445 GB, free: 15.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6881, allocations: 3.938 kB / 0.7445 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001165/0.6892, allocations: 0.568 MB / 0.7451 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6893, allocations: 13.81 kB / 0.7451 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6893, allocations: 4.047 kB / 0.7451 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.6908, allocations: 244.9 kB / 0.7453 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.6912, allocations: 123.5 kB / 0.7455 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006009/0.6918, allocations: 0.5836 MB / 0.746 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004117/0.6923, allocations: 67.5 kB / 0.7461 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.6924, allocations: 51.98 kB / 0.7461 GB, free: 13.75 MB / 0.545 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.0003643/0.6927, allocations: 193.6 kB / 0.7463 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.6929, allocations: 63.62 kB / 0.7464 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.6949, allocations: 1.096 MB / 0.7475 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6949, allocations: 4 kB / 0.7475 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6949, allocations: 0 / 0.7475 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6949, allocations: 0 / 0.7475 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.6966, allocations: 1.012 MB / 0.7485 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6966, allocations: 4 kB / 0.7485 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.6969, allocations: 55.91 kB / 0.7485 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/0.7001, allocations: 436.9 kB / 0.7489 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.7001, allocations: 15.98 kB / 0.7489 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005777/0.7007, allocations: 0.592 MB / 0.7495 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.7007, allocations: 7.969 kB / 0.7495 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009329/0.7016, allocations: 0.4985 MB / 0.75 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.7018, allocations: 145.5 kB / 0.7502 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.702, allocations: 11.94 kB / 0.7502 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.7023, allocations: 15.98 kB / 0.7502 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.7024, allocations: 31.84 kB / 0.7502 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.7024, allocations: 16 kB / 0.7502 GB, free: 9.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006238/0.703, allocations: 442.8 kB / 0.7506 GB, free: 8.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.703, allocations: 0 / 0.7506 GB, free: 8.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001015/0.704, allocations: 299.3 kB / 0.7509 GB, free: 8.652 MB / 0.545 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.00201/0.7061, allocations: 1.324 MB / 0.7522 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008506/0.7069, allocations: 361.3 kB / 0.7526 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7069, allocations: 4 kB / 0.7526 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.7072, allocations: 150 kB / 0.7527 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.7091, allocations: 409 kB / 0.7531 GB, free: 6.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007528/0.7166, allocations: 5.05 MB / 0.758 GB, free: 1.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.7171, allocations: 0.8637 MB / 0.7589 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001268/0.7184, allocations: 0.5791 MB / 0.7594 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.7188, allocations: 235.3 kB / 0.7597 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.7188, allocations: 0 / 0.7597 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/0.7822, allocations: 23.13 MB / 0.7823 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.79, allocations: 8.062 kB / 0.7823 GB, free: 8.492 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 17.08691781712696]