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.001316/0.001316, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.00152/0.00152, allocations: 215 kB / 21.45 MB, free: 1.617 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.479/1.479, allocations: 230.6 MB / 254.8 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.2295/0.2295, allocations: 46.92 MB / 357.8 MB, free: 10.31 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.001855/0.001855, allocations: 59.91 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.129, allocations: 65.99 MB / 0.5561 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5082/0.6372, allocations: 184.7 MB / 0.7364 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00787/0.645, allocations: 4.627 MB / 0.7409 GB, free: 4.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007103/0.6458, allocations: 19.81 kB / 0.7409 GB, free: 4.027 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.6468, allocations: 349.7 kB / 0.7413 GB, free: 3.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.652, allocations: 1.811 MB / 0.743 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.6549, allocations: 0.9482 MB / 0.744 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002663/0.6576, allocations: 1.695 MB / 0.7456 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007644/0.6583, allocations: 395.1 kB / 0.746 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.6602, allocations: 0.8721 MB / 0.7469 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009904/0.6612, allocations: 0.5409 MB / 0.7474 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.6614, allocations: 56 kB / 0.7474 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.6645, allocations: 1.307 MB / 0.7487 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.6647, allocations: 179.3 kB / 0.7489 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004855/0.6652, allocations: 374.4 kB / 0.7492 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.6678, allocations: 1.639 MB / 0.7508 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6678, allocations: 4 kB / 0.7508 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6678, allocations: 0 / 0.7508 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.6678, allocations: 4 kB / 0.7509 GB, free: 9.855 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.002208/0.67, allocations: 1.128 MB / 0.752 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6701, allocations: 12.03 kB / 0.752 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.849e-05/0.6701, allocations: 13 kB / 0.752 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.6702, allocations: 90.52 kB / 0.7521 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.6716, allocations: 170.5 kB / 0.7522 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.6726, allocations: 0.5123 MB / 0.7527 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.6727, allocations: 33 kB / 0.7528 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.449e-05/0.6728, allocations: 44 kB / 0.7528 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.674, allocations: 0.6438 MB / 0.7534 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.674, allocations: 0 / 0.7534 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.6741, allocations: 24 kB / 0.7535 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.6741, allocations: 12 kB / 0.7535 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009968/0.6751, allocations: 0.4917 MB / 0.7539 GB, free: 6.539 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.00381/0.6789, allocations: 2.645 MB / 0.7565 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/0.6797, allocations: 298.7 kB / 0.7568 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.68, allocations: 152.9 kB / 0.757 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.6805, allocations: 433.5 kB / 0.7574 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.6805, allocations: 38.56 kB / 0.7574 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.325e-06/0.6805, allocations: 0 / 0.7574 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001813/0.6824, allocations: 0.7134 MB / 0.7581 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.6825, allocations: 166.2 kB / 0.7583 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.6831, allocations: 0.5223 MB / 0.7588 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.6832, allocations: 33.7 kB / 0.7588 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.6834, allocations: 304.1 kB / 0.7591 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.6836, allocations: 138.8 kB / 0.7592 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.6838, allocations: 118.2 kB / 0.7593 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.684, allocations: 366.8 kB / 0.7597 GB, free: 260 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.6843, allocations: 145 kB / 0.7598 GB, free: 116 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.6848, allocations: 317.2 kB / 0.7601 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/0.6856, allocations: 486.5 kB / 0.7606 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6856, allocations: 0 / 0.7606 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001113/0.6867, allocations: 0.5757 MB / 0.7612 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6867, allocations: 8 kB / 0.7612 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.6867, allocations: 4 kB / 0.7612 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.6883, allocations: 237 kB / 0.7614 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.6887, allocations: 115.8 kB / 0.7615 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000523/0.6892, allocations: 0.5914 MB / 0.7621 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.6896, allocations: 55.58 kB / 0.7621 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.6897, allocations: 51.98 kB / 0.7622 GB, free: 13.52 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.0003062/0.69, allocations: 197.6 kB / 0.7624 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.6901, allocations: 59.67 kB / 0.7624 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.6922, allocations: 1.109 MB / 0.7635 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.6922, allocations: 8 kB / 0.7635 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6922, allocations: 0 / 0.7635 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.6922, allocations: 3.984 kB / 0.7635 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.6938, allocations: 1.002 MB / 0.7645 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6938, allocations: 0 / 0.7645 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.694, allocations: 59.84 kB / 0.7646 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/0.6972, allocations: 440.2 kB / 0.765 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.6972, allocations: 8 kB / 0.765 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005294/0.6978, allocations: 0.603 MB / 0.7656 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6978, allocations: 4.047 kB / 0.7656 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/0.6986, allocations: 0.5087 MB / 0.7661 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.6988, allocations: 136.7 kB / 0.7662 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6989, allocations: 15.94 kB / 0.7662 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.6993, allocations: 15.98 kB / 0.7662 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.6994, allocations: 27.91 kB / 0.7663 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/0.6994, allocations: 23.97 kB / 0.7663 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007329/0.7001, allocations: 451 kB / 0.7667 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7001, allocations: 4 kB / 0.7667 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009936/0.7011, allocations: 299.4 kB / 0.767 GB, free: 8.379 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.002024/0.7031, allocations: 1.311 MB / 0.7683 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008965/0.704, allocations: 355.5 kB / 0.7686 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.704, allocations: 0 / 0.7686 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/0.7044, allocations: 146.3 kB / 0.7688 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.7063, allocations: 407.9 kB / 0.7692 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008502/0.7148, allocations: 5.064 MB / 0.7741 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.7155, allocations: 0.8638 MB / 0.7749 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001336/0.7169, allocations: 0.5753 MB / 0.7755 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.7173, allocations: 247.3 kB / 0.7757 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.7173, allocations: 0 / 0.7757 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/0.7739, allocations: 23.24 MB / 0.7984 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.91, allocations: 19.77 kB / 0.7985 GB, free: 8.141 MB / 0.6075 GB " [Timeout remaining time 646] (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: 17.438165461993776]