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.001787/0.001787, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001997/0.001997, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.482/1.482, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2279/0.2279, allocations: 46.92 MB / 357.1 MB, free: 10.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 0.4909 GB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1223, allocations: 65.99 MB / 0.5554 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.487/0.6093, allocations: 184.7 MB / 0.7357 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008037/0.6174, allocations: 4.623 MB / 0.7402 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008332/0.6182, allocations: 27.75 kB / 0.7403 GB, free: 4.035 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.6195, allocations: 353.7 kB / 0.7406 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.6246, allocations: 1.801 MB / 0.7424 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.6271, allocations: 0.9507 MB / 0.7433 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002472/0.6295, allocations: 1.703 MB / 0.7449 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007433/0.6303, allocations: 399 kB / 0.7453 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.6323, allocations: 0.8682 MB / 0.7462 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.6334, allocations: 0.5331 MB / 0.7467 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002088/0.6336, allocations: 56 kB / 0.7468 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.6364, allocations: 1.319 MB / 0.748 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.6367, allocations: 175.3 kB / 0.7482 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006403/0.6374, allocations: 370.5 kB / 0.7486 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.6409, allocations: 1.643 MB / 0.7502 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.641, allocations: 0 / 0.7502 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.641, allocations: 4 kB / 0.7502 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.383e-05/0.641, allocations: 0 / 0.7502 GB, free: 9.863 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.002602/0.6436, allocations: 1.136 MB / 0.7513 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6436, allocations: 12.03 kB / 0.7513 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.6438, allocations: 86.53 kB / 0.7514 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.6451, allocations: 163.5 kB / 0.7515 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009915/0.6461, allocations: 0.5085 MB / 0.752 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.6462, allocations: 41 kB / 0.7521 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.6463, allocations: 40 kB / 0.7521 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.6476, allocations: 0.6399 MB / 0.7527 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.6476, allocations: 0 / 0.7527 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.533e-05/0.6477, allocations: 24 kB / 0.7527 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.6477, allocations: 16.81 kB / 0.7528 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6487, allocations: 499.6 kB / 0.7532 GB, free: 6.562 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.003713/0.6524, allocations: 2.653 MB / 0.7558 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.6532, allocations: 302.8 kB / 0.7561 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.6535, allocations: 140.8 kB / 0.7563 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000482/0.654, allocations: 437.5 kB / 0.7567 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.6541, allocations: 42.56 kB / 0.7567 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.6541, allocations: 0 / 0.7567 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001914/0.656, allocations: 0.7172 MB / 0.7574 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.6561, allocations: 166.2 kB / 0.7576 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.6569, allocations: 0.5185 MB / 0.7581 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/0.6569, allocations: 33.7 kB / 0.7581 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.6572, allocations: 304.1 kB / 0.7584 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.6574, allocations: 138.8 kB / 0.7585 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.6576, allocations: 114.2 kB / 0.7586 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.6578, allocations: 366.8 kB / 0.759 GB, free: 280 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.6581, allocations: 149 kB / 0.7591 GB, free: 132 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.6586, allocations: 321.1 kB / 0.7594 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008233/0.6594, allocations: 471.7 kB / 0.7599 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.6594, allocations: 8 kB / 0.7599 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0012/0.6606, allocations: 0.5721 MB / 0.7605 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6607, allocations: 13.81 kB / 0.7605 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.6607, allocations: 4 kB / 0.7605 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.6623, allocations: 244.6 kB / 0.7607 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.6627, allocations: 115.9 kB / 0.7608 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005577/0.6633, allocations: 0.5797 MB / 0.7614 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.6637, allocations: 63.62 kB / 0.7614 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6638, allocations: 58.05 kB / 0.7615 GB, free: 13.53 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.0003243/0.6641, allocations: 193.6 kB / 0.7617 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.6643, allocations: 59.67 kB / 0.7617 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.6663, allocations: 1.1 MB / 0.7628 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6663, allocations: 4 kB / 0.7628 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6663, allocations: 0.875 kB / 0.7628 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.6663, allocations: 0 / 0.7628 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.6679, allocations: 1.01 MB / 0.7638 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6679, allocations: 4 kB / 0.7638 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.6681, allocations: 56.09 kB / 0.7639 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/0.6714, allocations: 444.2 kB / 0.7643 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.6714, allocations: 11.98 kB / 0.7643 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005109/0.6719, allocations: 0.5992 MB / 0.7649 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.6719, allocations: 3.938 kB / 0.7649 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.6728, allocations: 0.5049 MB / 0.7654 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.673, allocations: 140.7 kB / 0.7655 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6731, allocations: 15.94 kB / 0.7655 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003608/0.6735, allocations: 15.98 kB / 0.7655 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.6735, allocations: 31.84 kB / 0.7656 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.6736, allocations: 16 kB / 0.7656 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006962/0.6743, allocations: 447 kB / 0.766 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6743, allocations: 0 / 0.766 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001048/0.6753, allocations: 299.4 kB / 0.7663 GB, free: 8.41 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.001999/0.6773, allocations: 1.32 MB / 0.7676 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009122/0.6782, allocations: 352.3 kB / 0.7679 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.6782, allocations: 0 / 0.7679 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.6786, allocations: 145 kB / 0.7681 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.6806, allocations: 407.1 kB / 0.7685 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007669/0.6882, allocations: 5.067 MB / 0.7734 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.6888, allocations: 0.8716 MB / 0.7743 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001212/0.69, allocations: 0.5715 MB / 0.7748 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.6904, allocations: 239.3 kB / 0.775 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.6904, allocations: 4 kB / 0.775 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.634/2.325, allocations: 23.21 MB / 0.7977 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/15.32, allocations: 7.938 kB / 0.7977 GB, free: 8.195 MB / 0.6075 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.62016826402396]