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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001199/0.001199, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.1 MB / 343.6 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002721/0.002721, allocations: 80.03 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1583, allocations: 62.44 MB / 479.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4677/0.6261, allocations: 181.9 MB / 0.6458 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008521/0.6346, allocations: 4.737 MB / 0.6505 GB, free: 8.934 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.6358, allocations: 19.81 kB / 0.6505 GB, free: 8.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.6372, allocations: 286.4 kB / 0.6508 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006222/0.6434, allocations: 1.577 MB / 0.6523 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.6462, allocations: 0.8656 MB / 0.6531 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003214/0.6494, allocations: 2.197 MB / 0.6553 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008855/0.6504, allocations: 382 kB / 0.6557 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.6527, allocations: 0.7706 MB / 0.6564 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.6539, allocations: 0.5175 MB / 0.6569 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.6541, allocations: 32 kB / 0.6569 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.6571, allocations: 1.209 MB / 0.6581 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.6574, allocations: 159.4 kB / 0.6583 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006959/0.6581, allocations: 354.3 kB / 0.6586 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003271/0.6614, allocations: 1.609 MB / 0.6602 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6614, allocations: 4 kB / 0.6602 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6614, allocations: 0 / 0.6602 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.24e-05/0.6615, allocations: 0 / 0.6602 GB, free: 14.96 MB / 0.4981 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.002627/0.6641, allocations: 1.111 MB / 0.6613 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.6642, allocations: 8.031 kB / 0.6613 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.6643, allocations: 90.52 kB / 0.6614 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.6657, allocations: 163.1 kB / 0.6615 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008639/0.6666, allocations: 496.3 kB / 0.662 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.6666, allocations: 40.94 kB / 0.662 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-05/0.6667, allocations: 40 kB / 0.6621 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.668, allocations: 0.6526 MB / 0.6627 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.668, allocations: 0 / 0.6627 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.6681, allocations: 20 kB / 0.6627 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.6681, allocations: 12 kB / 0.6627 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/0.6691, allocations: 0.4995 MB / 0.6632 GB, free: 11.7 MB / 0.4981 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.003427/0.6725, allocations: 2.641 MB / 0.6658 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.6733, allocations: 326.6 kB / 0.6661 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.6736, allocations: 165.7 kB / 0.6663 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004956/0.6741, allocations: 433.5 kB / 0.6667 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.6742, allocations: 38.56 kB / 0.6667 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.6742, allocations: 3.938 kB / 0.6667 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001768/0.6759, allocations: 0.7131 MB / 0.6674 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.6761, allocations: 162.1 kB / 0.6676 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/0.6767, allocations: 0.5223 MB / 0.6681 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.6768, allocations: 37.7 kB / 0.6681 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.677, allocations: 295.6 kB / 0.6684 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.6771, allocations: 126.3 kB / 0.6685 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.6773, allocations: 118.1 kB / 0.6686 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6775, allocations: 362.8 kB / 0.669 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.6778, allocations: 149 kB / 0.6691 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004264/0.6782, allocations: 322.9 kB / 0.6694 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007357/0.679, allocations: 474.9 kB / 0.6699 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.679, allocations: 0 / 0.6699 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00113/0.6801, allocations: 0.5793 MB / 0.6705 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.6802, allocations: 11.94 kB / 0.6705 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6802, allocations: 4 kB / 0.6705 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.6818, allocations: 232.8 kB / 0.6707 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.6822, allocations: 119.8 kB / 0.6708 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004753/0.6827, allocations: 0.5914 MB / 0.6714 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.6831, allocations: 67.42 kB / 0.6715 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.583e-05/0.6832, allocations: 55.98 kB / 0.6715 GB, free: 2.645 MB / 0.4981 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.0003188/0.6836, allocations: 197.6 kB / 0.6717 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.6837, allocations: 59.34 kB / 0.6717 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.6858, allocations: 1.099 MB / 0.6728 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6858, allocations: 4 kB / 0.6728 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6858, allocations: 0 / 0.6728 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.6859, allocations: 7.984 kB / 0.6728 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.6874, allocations: 1.008 MB / 0.6738 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6874, allocations: 0 / 0.6738 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.6876, allocations: 47.97 kB / 0.6739 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003433/0.6911, allocations: 464.2 kB / 0.6743 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.6911, allocations: 12 kB / 0.6743 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004579/0.6916, allocations: 0.5836 MB / 0.6749 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6916, allocations: 4.031 kB / 0.6749 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007749/0.6924, allocations: 0.5045 MB / 0.6754 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.6926, allocations: 140.2 kB / 0.6755 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6927, allocations: 8 kB / 0.6755 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.6931, allocations: 35.83 kB / 0.6756 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.6932, allocations: 31.84 kB / 0.6756 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.6932, allocations: 19.98 kB / 0.6756 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006005/0.6938, allocations: 447 kB / 0.676 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6938, allocations: 0 / 0.676 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001003/0.6949, allocations: 299.8 kB / 0.6763 GB, free: 13.5 MB / 0.5137 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.00205/0.6969, allocations: 1.31 MB / 0.6776 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008768/0.6978, allocations: 376 kB / 0.678 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6978, allocations: 0 / 0.678 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.6982, allocations: 161.9 kB / 0.6781 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.7001, allocations: 402.4 kB / 0.6785 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007662/0.7078, allocations: 5.36 MB / 0.6837 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.7083, allocations: 0.8637 MB / 0.6846 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001388/0.7097, allocations: 0.5748 MB / 0.6851 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.7101, allocations: 243.3 kB / 0.6854 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.7101, allocations: 0 / 0.6854 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2598/0.9699, allocations: 22.16 MB / 0.707 GB, free: 198 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.9701, allocations: 293 kB / 0.7073 GB, free: 197.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.465, allocations: 0 / 0.7073 GB, free: 197.6 MB / 0.5294 GB (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 --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) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches