Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2463/0.2463, allocations: 46.91 MB / 357.4 MB, free: 10.47 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 79.86 kB / 0.4912 GB, free: 8.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1412, allocations: 65.99 MB / 0.5557 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.528/0.6693, allocations: 184.7 MB / 0.736 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00846/0.6777, allocations: 4.624 MB / 0.7406 GB, free: 4.434 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.6785, allocations: 15.88 kB / 0.7406 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.6796, allocations: 345.7 kB / 0.7409 GB, free: 4.078 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005455/0.6851, allocations: 1.812 MB / 0.7427 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.6877, allocations: 0.9573 MB / 0.7436 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00289/0.6906, allocations: 1.695 MB / 0.7453 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007725/0.6914, allocations: 399.1 kB / 0.7456 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.6934, allocations: 0.8642 MB / 0.7465 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008645/0.6943, allocations: 0.5254 MB / 0.747 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.651e-05/0.6944, allocations: 52 kB / 0.747 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002965/0.6974, allocations: 1.322 MB / 0.7483 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.6976, allocations: 179.3 kB / 0.7485 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.6981, allocations: 370.3 kB / 0.7489 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003185/0.7013, allocations: 1.643 MB / 0.7505 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7013, allocations: 0 / 0.7505 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7013, allocations: 0 / 0.7505 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.7013, allocations: 0 / 0.7505 GB, free: 10.26 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.002188/0.7035, allocations: 1.136 MB / 0.7516 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.7036, allocations: 12.03 kB / 0.7516 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.7037, allocations: 90.52 kB / 0.7517 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.7049, allocations: 159.5 kB / 0.7518 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009915/0.7059, allocations: 0.5085 MB / 0.7523 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/0.706, allocations: 33 kB / 0.7524 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.706, allocations: 44 kB / 0.7524 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.7072, allocations: 0.6438 MB / 0.753 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.7073, allocations: 7.938 kB / 0.753 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.7073, allocations: 20 kB / 0.7531 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.7073, allocations: 12 kB / 0.7531 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009403/0.7083, allocations: 495.6 kB / 0.7535 GB, free: 6.961 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.0036/0.7119, allocations: 2.653 MB / 0.7561 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.7126, allocations: 302.7 kB / 0.7564 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.7129, allocations: 140.9 kB / 0.7566 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/0.7134, allocations: 441.4 kB / 0.757 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.7134, allocations: 38.56 kB / 0.757 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/0.7134, allocations: 4 kB / 0.757 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001741/0.7152, allocations: 0.7211 MB / 0.7577 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.7153, allocations: 158.2 kB / 0.7579 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007237/0.716, allocations: 0.5185 MB / 0.7584 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.7161, allocations: 37.7 kB / 0.7584 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.7163, allocations: 308.1 kB / 0.7587 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.7165, allocations: 130.8 kB / 0.7588 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.7167, allocations: 122.2 kB / 0.7589 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002097/0.717, allocations: 366.8 kB / 0.7593 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000296/0.7172, allocations: 141 kB / 0.7594 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.7177, allocations: 326.9 kB / 0.7597 GB, free: 132 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.7185, allocations: 466.6 kB / 0.7602 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7185, allocations: 4.75 kB / 0.7602 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001057/0.7196, allocations: 0.5755 MB / 0.7608 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.7196, allocations: 10.59 kB / 0.7608 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.7196, allocations: 8 kB / 0.7608 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.7211, allocations: 240.5 kB / 0.761 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.7215, allocations: 115.9 kB / 0.7611 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005812/0.7221, allocations: 0.5875 MB / 0.7617 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.7224, allocations: 59.52 kB / 0.7617 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.7225, allocations: 55.98 kB / 0.7618 GB, free: 13.93 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.0003319/0.7229, allocations: 197.6 kB / 0.762 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.723, allocations: 59.67 kB / 0.762 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.725, allocations: 1.092 MB / 0.7631 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.725, allocations: 4 kB / 0.7631 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.725, allocations: 0 / 0.7631 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.725, allocations: 3.984 kB / 0.7631 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.7266, allocations: 1.009 MB / 0.7641 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.7266, allocations: 4 kB / 0.7641 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.7268, allocations: 55.91 kB / 0.7642 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003199/0.73, allocations: 440.3 kB / 0.7646 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.73, allocations: 19.94 kB / 0.7646 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005212/0.7305, allocations: 0.5924 MB / 0.7652 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7305, allocations: 4.031 kB / 0.7652 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.7314, allocations: 0.5086 MB / 0.7657 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.7316, allocations: 144.7 kB / 0.7658 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7317, allocations: 11.94 kB / 0.7658 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.732, allocations: 16.8 kB / 0.7658 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.7321, allocations: 31.91 kB / 0.7659 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.693e-05/0.7321, allocations: 19.98 kB / 0.7659 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005973/0.7327, allocations: 447 kB / 0.7663 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7327, allocations: 0 / 0.7663 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009224/0.7336, allocations: 299.4 kB / 0.7666 GB, free: 8.801 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.00188/0.7355, allocations: 1.33 MB / 0.7679 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008634/0.7364, allocations: 356.5 kB / 0.7682 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7364, allocations: 0 / 0.7682 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.7367, allocations: 143.8 kB / 0.7684 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.7385, allocations: 408.2 kB / 0.7688 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00746/0.7459, allocations: 5.06 MB / 0.7737 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.7465, allocations: 0.8638 MB / 0.7746 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001249/0.7478, allocations: 0.5711 MB / 0.7751 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000422/0.7482, allocations: 239.3 kB / 0.7753 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/0.7482, allocations: 0 / 0.7753 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05881/0.807, allocations: 23.26 MB / 0.798 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.92, allocations: 19.86 kB / 0.7981 GB, free: 8.527 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.280090793967247]