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.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.00144/0.00144, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.00182/0.00182, allocations: 212.2 kB / 24.52 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.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.2309/0.2309, allocations: 44.92 MB / 359.6 MB, free: 6.285 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001969/0.001969, allocations: 64.14 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.332, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5454/0.8775, allocations: 184.9 MB / 0.7384 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006063/0.8835, allocations: 4.645 MB / 0.7429 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006653/0.8842, allocations: 27.22 kB / 0.7429 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.885, allocations: 345.6 kB / 0.7433 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.8893, allocations: 1.831 MB / 0.7451 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002379/0.8916, allocations: 0.9795 MB / 0.746 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002255/0.8939, allocations: 1.728 MB / 0.7477 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/0.8944, allocations: 377.7 kB / 0.7481 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.8958, allocations: 0.8778 MB / 0.7489 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006854/0.8965, allocations: 0.5218 MB / 0.7494 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.17e-05/0.8966, allocations: 53.31 kB / 0.7495 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002529/0.8991, allocations: 1.342 MB / 0.7508 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.8993, allocations: 177.7 kB / 0.751 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003657/0.8996, allocations: 377.1 kB / 0.7513 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.9018, allocations: 1.646 MB / 0.7529 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9018, allocations: 0 / 0.7529 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9018, allocations: 0.9688 kB / 0.7529 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.9018, allocations: 0 / 0.7529 GB, free: 1.527 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001971/0.9038, allocations: 1.06 MB / 0.754 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.9039, allocations: 11.16 kB / 0.754 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.695e-05/0.9039, allocations: 10.53 kB / 0.754 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.904, allocations: 87.16 kB / 0.7541 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.9052, allocations: 170.1 kB / 0.7542 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008046/0.906, allocations: 451.8 kB / 0.7547 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.906, allocations: 32.88 kB / 0.7547 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.9061, allocations: 47.94 kB / 0.7547 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.9071, allocations: 0.6423 MB / 0.7554 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.9071, allocations: 0.9062 kB / 0.7554 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/0.9072, allocations: 27.94 kB / 0.7554 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.9072, allocations: 11.06 kB / 0.7554 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.908, allocations: 0.4908 MB / 0.7559 GB, free: 16.54 MB / 0.5762 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.002871/0.9108, allocations: 2.619 MB / 0.7584 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.9115, allocations: 303.3 kB / 0.7587 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.9117, allocations: 144.8 kB / 0.7589 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/0.9119, allocations: 60.45 kB / 0.7589 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.912, allocations: 39.03 kB / 0.759 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.912, allocations: 0.875 kB / 0.759 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001516/0.9135, allocations: 0.6372 MB / 0.7596 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.9136, allocations: 161 kB / 0.7597 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005214/0.9141, allocations: 0.512 MB / 0.7602 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.9142, allocations: 36.08 kB / 0.7603 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.9144, allocations: 308.6 kB / 0.7606 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.9144, allocations: 134.7 kB / 0.7607 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.9146, allocations: 121.8 kB / 0.7608 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.9148, allocations: 363.5 kB / 0.7612 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.9151, allocations: 149.7 kB / 0.7613 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.9154, allocations: 322.5 kB / 0.7616 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.916, allocations: 473.6 kB / 0.7621 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.916, allocations: 3.156 kB / 0.7621 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009087/0.917, allocations: 0.5759 MB / 0.7626 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.917, allocations: 10.94 kB / 0.7626 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.917, allocations: 6.594 kB / 0.7626 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.9184, allocations: 238 kB / 0.7629 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.9188, allocations: 118.6 kB / 0.763 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00049/0.9193, allocations: 0.5864 MB / 0.7636 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.9197, allocations: 63.48 kB / 0.7636 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.249e-05/0.9198, allocations: 55.44 kB / 0.7637 GB, free: 12.79 MB / 0.5762 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.0002738/0.9201, allocations: 193.2 kB / 0.7639 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.9202, allocations: 59.33 kB / 0.7639 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.9218, allocations: 1.111 MB / 0.765 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9218, allocations: 2.562 kB / 0.765 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.9218, allocations: 4.969 kB / 0.765 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.9219, allocations: 2.578 kB / 0.765 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.9232, allocations: 0.9819 MB / 0.766 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9232, allocations: 6.234 kB / 0.766 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.9233, allocations: 46 kB / 0.766 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00299/0.9263, allocations: 443.2 kB / 0.7664 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.9264, allocations: 13.95 kB / 0.7665 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004821/0.9268, allocations: 0.5936 MB / 0.767 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9268, allocations: 4.219 kB / 0.767 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.9276, allocations: 0.5099 MB / 0.7675 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.9277, allocations: 71.83 kB / 0.7676 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.9278, allocations: 6.062 kB / 0.7676 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.9282, allocations: 15.11 kB / 0.7676 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.9282, allocations: 30.14 kB / 0.7677 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.9283, allocations: 20.78 kB / 0.7677 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004775/0.9287, allocations: 455.7 kB / 0.7681 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9287, allocations: 2.109 kB / 0.7681 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000874/0.9296, allocations: 294.4 kB / 0.7684 GB, free: 11.18 MB / 0.5762 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.001703/0.9313, allocations: 1.308 MB / 0.7697 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.9321, allocations: 357.8 kB / 0.77 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.9321, allocations: 1.031 kB / 0.77 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.9324, allocations: 151.5 kB / 0.7702 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.9344, allocations: 412.5 kB / 0.7705 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.9409, allocations: 5.055 MB / 0.7755 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.9414, allocations: 0.8691 MB / 0.7763 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001073/0.9425, allocations: 0.5672 MB / 0.7769 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.9428, allocations: 238.9 kB / 0.7771 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.9428, allocations: 0.9375 kB / 0.7771 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05113/0.994, allocations: 23.53 MB / 0.8001 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.93, allocations: 14.56 kB / 0.8001 GB, free: 14.88 MB / 0.5919 GB " [Timeout remaining time 645] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 18.399378817994148]