Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001943/0.001943, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002205/0.002205, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.631/1.631, allocations: 230.5 MB / 257.4 MB, free: 8 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.2393/0.2393, allocations: 46.92 MB / 360.8 MB, free: 4.172 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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 83.86 kB / 0.4962 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3641, allocations: 66.08 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.6038/0.968, allocations: 186.9 MB / 0.7432 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005247/0.9732, allocations: 3.294 MB / 0.7464 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.9742, allocations: 24.41 kB / 0.7465 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009901/0.9752, allocations: 325.2 kB / 0.7468 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.9789, allocations: 1.436 MB / 0.7482 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.9808, allocations: 0.7437 MB / 0.7489 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.9826, allocations: 1.58 MB / 0.7504 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.983, allocations: 365 kB / 0.7508 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007588/0.9838, allocations: 0.604 MB / 0.7514 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005559/0.9843, allocations: 486.8 kB / 0.7518 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.834e-05/0.9844, allocations: 50.84 kB / 0.7519 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/0.9866, allocations: 1.235 MB / 0.7531 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.9867, allocations: 162 kB / 0.7533 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.9871, allocations: 350.8 kB / 0.7536 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.989, allocations: 1.514 MB / 0.7551 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.989, allocations: 1.031 kB / 0.7551 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.864e-06/0.989, allocations: 0 / 0.7551 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.989, allocations: 3.047 kB / 0.7551 GB, free: 1.555 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00179/0.9908, allocations: 1.001 MB / 0.7561 GB, free: 17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9908, allocations: 10.91 kB / 0.7561 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.703e-05/0.9909, allocations: 84.03 kB / 0.7561 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00096/0.9919, allocations: 142.6 kB / 0.7563 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.9927, allocations: 446.3 kB / 0.7567 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.9927, allocations: 31.78 kB / 0.7567 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/0.9928, allocations: 41.5 kB / 0.7568 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/0.9937, allocations: 0.5953 MB / 0.7574 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.9937, allocations: 3.031 kB / 0.7574 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.9938, allocations: 20.31 kB / 0.7574 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.9938, allocations: 11.25 kB / 0.7574 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/0.9946, allocations: 484.5 kB / 0.7578 GB, free: 16.6 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.002934/0.9975, allocations: 2.639 MB / 0.7604 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.9982, allocations: 324.9 kB / 0.7607 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.9984, allocations: 160.1 kB / 0.7609 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00023/0.9987, allocations: 53.23 kB / 0.7609 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/0.9987, allocations: 42.75 kB / 0.761 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.9987, allocations: 0.9375 kB / 0.761 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001599/1, allocations: 0.6552 MB / 0.7616 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1, allocations: 137 kB / 0.7618 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005229/1.001, allocations: 0.4901 MB / 0.7622 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/1.001, allocations: 33.12 kB / 0.7623 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/1.001, allocations: 284.6 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.62e-05/1.001, allocations: 127.4 kB / 0.7627 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/1.001, allocations: 99.94 kB / 0.7628 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000183/1.002, allocations: 361.7 kB / 0.7631 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/1.002, allocations: 152.8 kB / 0.7632 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/1.002, allocations: 282 kB / 0.7635 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/1.003, allocations: 444.2 kB / 0.7639 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.003, allocations: 3.094 kB / 0.7639 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008587/1.004, allocations: 0.5453 MB / 0.7645 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.004, allocations: 7.344 kB / 0.7645 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.004, allocations: 3.438 kB / 0.7645 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/1.005, allocations: 242.3 kB / 0.7647 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/1.005, allocations: 107.3 kB / 0.7648 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005247/1.006, allocations: 0.6024 MB / 0.7654 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/1.006, allocations: 50.44 kB / 0.7654 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/1.006, allocations: 46.48 kB / 0.7655 GB, free: 12.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002655/1.007, allocations: 183.1 kB / 0.7657 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.007, allocations: 57.45 kB / 0.7657 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/1.008, allocations: 1.097 MB / 0.7668 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.008, allocations: 3.281 kB / 0.7668 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/1.009, allocations: 3.219 kB / 0.7668 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.009, allocations: 3.594 kB / 0.7668 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/1.01, allocations: 0.9979 MB / 0.7678 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.01, allocations: 4.094 kB / 0.7678 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/1.01, allocations: 53.53 kB / 0.7678 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/1.013, allocations: 444.9 kB / 0.7683 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/1.013, allocations: 9.688 kB / 0.7683 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005044/1.014, allocations: 0.6125 MB / 0.7689 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.014, allocations: 2.188 kB / 0.7689 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/1.014, allocations: 0.518 MB / 0.7694 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/1.015, allocations: 65.45 kB / 0.7694 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.482e-05/1.015, allocations: 13.94 kB / 0.7694 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/1.015, allocations: 18.67 kB / 0.7695 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/1.015, allocations: 28.84 kB / 0.7695 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/1.015, allocations: 17.56 kB / 0.7695 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004742/1.016, allocations: 420.7 kB / 0.7699 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/1.016, allocations: 4.469 kB / 0.7699 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009484/1.017, allocations: 285 kB / 0.7702 GB, free: 11.36 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.001742/1.018, allocations: 1.325 MB / 0.7715 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007844/1.019, allocations: 367.7 kB / 0.7718 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.019, allocations: 1.844 kB / 0.7718 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/1.019, allocations: 161.2 kB / 0.772 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.021, allocations: 353.8 kB / 0.7723 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006375/1.027, allocations: 4.939 MB / 0.7771 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/1.028, allocations: 0.8607 MB / 0.778 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001045/1.029, allocations: 0.5575 MB / 0.7785 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003559/1.029, allocations: 236.8 kB / 0.7788 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/1.029, allocations: 0 / 0.7788 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05762/1.087, allocations: 21.95 MB / 0.8002 GB, free: 236 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.9, allocations: 20.92 kB / 0.8002 GB, free: 220 kB / 0.5762 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.257295343093574]