Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001765/0.001765, allocations: 112.2 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.002099/0.002099, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2342/0.2342, allocations: 46.93 MB / 361.7 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.91 kB / 0.4969 GB, free: 7.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 66.03 MB / 0.5614 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5173/0.8245, allocations: 184.9 MB / 0.742 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005576/0.8301, allocations: 4.641 MB / 0.7465 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005902/0.8306, allocations: 26.69 kB / 0.7466 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008003/0.8314, allocations: 339 kB / 0.7469 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004357/0.8358, allocations: 1.839 MB / 0.7487 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.8381, allocations: 0.9619 MB / 0.7496 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.84, allocations: 1.739 MB / 0.7513 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.8405, allocations: 383 kB / 0.7517 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.8421, allocations: 0.8722 MB / 0.7525 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/0.8428, allocations: 0.522 MB / 0.7531 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.8429, allocations: 55.28 kB / 0.7531 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.8453, allocations: 1.339 MB / 0.7544 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.8454, allocations: 182.7 kB / 0.7546 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.8458, allocations: 374.3 kB / 0.7549 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.8483, allocations: 1.64 MB / 0.7565 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.8483, allocations: 1 kB / 0.7565 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8483, allocations: 0 / 0.7565 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.8484, allocations: 0 / 0.7565 GB, free: 1.574 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.002083/0.8504, allocations: 1.066 MB / 0.7576 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.8505, allocations: 10.19 kB / 0.7576 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.402e-05/0.8505, allocations: 14.31 kB / 0.7576 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.8506, allocations: 88.91 kB / 0.7577 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.8518, allocations: 168.6 kB / 0.7579 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008949/0.8527, allocations: 455.8 kB / 0.7583 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.8527, allocations: 35.72 kB / 0.7583 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.8528, allocations: 44.03 kB / 0.7584 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.8539, allocations: 0.6373 MB / 0.759 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.8539, allocations: 4.406 kB / 0.759 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/0.854, allocations: 18.66 kB / 0.759 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.854, allocations: 10.75 kB / 0.759 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.8549, allocations: 0.4953 MB / 0.7595 GB, free: 16.57 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.003007/0.8579, allocations: 2.62 MB / 0.7621 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006674/0.8585, allocations: 307.1 kB / 0.7624 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.8588, allocations: 147.3 kB / 0.7625 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.859, allocations: 51.42 kB / 0.7625 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.8591, allocations: 38.61 kB / 0.7626 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=35): time 1.843e-06/0.8591, allocations: 0.875 kB / 0.7626 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=35): time 0.001666/0.8607, allocations: 0.6351 MB / 0.7632 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.8608, allocations: 163.3 kB / 0.7634 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.8614, allocations: 0.5153 MB / 0.7639 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.8615, allocations: 36.23 kB / 0.7639 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.8616, allocations: 305.9 kB / 0.7642 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.8617, allocations: 134.9 kB / 0.7643 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.8619, allocations: 118.3 kB / 0.7644 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.8621, allocations: 363.2 kB / 0.7648 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.8623, allocations: 150.1 kB / 0.7649 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.8627, allocations: 322.8 kB / 0.7652 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/0.8633, allocations: 475.8 kB / 0.7657 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.8633, allocations: 4.281 kB / 0.7657 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000968/0.8642, allocations: 0.5732 MB / 0.7662 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.8643, allocations: 7.188 kB / 0.7663 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8643, allocations: 5.938 kB / 0.7663 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.8658, allocations: 237.2 kB / 0.7665 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.8661, allocations: 119.3 kB / 0.7666 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005365/0.8667, allocations: 0.5873 MB / 0.7672 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.8671, allocations: 59.3 kB / 0.7672 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.271e-05/0.8672, allocations: 62.16 kB / 0.7673 GB, free: 12.84 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.000317/0.8675, allocations: 184.8 kB / 0.7675 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.8677, allocations: 59.95 kB / 0.7675 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/0.8695, allocations: 1.114 MB / 0.7686 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.8695, allocations: 9.531 kB / 0.7686 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.8695, allocations: 0.9375 kB / 0.7686 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.8695, allocations: 2.438 kB / 0.7686 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.8711, allocations: 0.9807 MB / 0.7696 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.8711, allocations: 2.781 kB / 0.7696 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.8713, allocations: 54.08 kB / 0.7696 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/0.8745, allocations: 442.7 kB / 0.7701 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.8745, allocations: 12.22 kB / 0.7701 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00052/0.875, allocations: 0.596 MB / 0.7707 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.875, allocations: 10.39 kB / 0.7707 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/0.8759, allocations: 0.5054 MB / 0.7712 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.8761, allocations: 71.62 kB / 0.7712 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.8762, allocations: 8.656 kB / 0.7712 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.8766, allocations: 13.33 kB / 0.7712 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.8766, allocations: 30.75 kB / 0.7713 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.8767, allocations: 23 kB / 0.7713 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005732/0.8772, allocations: 449.4 kB / 0.7717 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8772, allocations: 1.203 kB / 0.7717 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001035/0.8783, allocations: 300.2 kB / 0.772 GB, free: 11.21 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.001762/0.88, allocations: 1.316 MB / 0.7733 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008283/0.8809, allocations: 357.6 kB / 0.7736 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.8809, allocations: 0.75 kB / 0.7736 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.8812, allocations: 150 kB / 0.7738 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.8831, allocations: 401.3 kB / 0.7742 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/0.8896, allocations: 5.047 MB / 0.7791 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.89, allocations: 0.8816 MB / 0.78 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001039/0.891, allocations: 0.5673 MB / 0.7805 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.8914, allocations: 245.6 kB / 0.7807 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of SimCode: time 7.72e-07/0.8914, allocations: 0.9688 kB / 0.7807 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05236/0.9437, allocations: 23.53 MB / 0.8037 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.86, allocations: 4.062 kB / 0.8037 GB, free: 13.71 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.194533817993943]