Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001729/0.001729, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001557/0.001557, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003181/0.003181, allocations: 71.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3574, allocations: 65.46 MB / 0.557 GB, free: 7.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5575/0.9149, allocations: 186.9 MB / 0.7395 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004756/0.9196, allocations: 3.287 MB / 0.7427 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005857/0.9202, allocations: 22.69 kB / 0.7428 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008723/0.9211, allocations: 330.8 kB / 0.7431 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.9246, allocations: 1.436 MB / 0.7445 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.9265, allocations: 0.7401 MB / 0.7452 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002156/0.9286, allocations: 1.579 MB / 0.7467 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006208/0.9293, allocations: 367.1 kB / 0.7471 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.9304, allocations: 0.6002 MB / 0.7477 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.9311, allocations: 488.2 kB / 0.7481 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.9312, allocations: 50.84 kB / 0.7482 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.9336, allocations: 1.228 MB / 0.7494 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.9338, allocations: 171.6 kB / 0.7496 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004746/0.9343, allocations: 347 kB / 0.7499 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002858/0.9371, allocations: 1.516 MB / 0.7514 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9371, allocations: 5.641 kB / 0.7514 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9371, allocations: 0 / 0.7514 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.9371, allocations: 0.625 kB / 0.7514 GB, free: 1.613 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.001924/0.9391, allocations: 0.9985 MB / 0.7523 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.9391, allocations: 10.47 kB / 0.7524 GB, free: 17.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.495e-05/0.9392, allocations: 84.02 kB / 0.7524 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.9402, allocations: 147.8 kB / 0.7526 GB, free: 16.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.941, allocations: 440 kB / 0.753 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.9411, allocations: 35.72 kB / 0.753 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.9411, allocations: 38.06 kB / 0.7531 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.9422, allocations: 0.5956 MB / 0.7536 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.9422, allocations: 1.812 kB / 0.7536 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.9422, allocations: 20.62 kB / 0.7537 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.9422, allocations: 11.16 kB / 0.7537 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008466/0.9431, allocations: 484.7 kB / 0.7541 GB, free: 16.66 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.003445/0.9465, allocations: 2.64 MB / 0.7567 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/0.9472, allocations: 324.8 kB / 0.757 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.9475, allocations: 161 kB / 0.7572 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/0.9478, allocations: 56.22 kB / 0.7572 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.9478, allocations: 40.73 kB / 0.7573 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.9478, allocations: 0 / 0.7573 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001682/0.9495, allocations: 0.6593 MB / 0.7579 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.9496, allocations: 134.1 kB / 0.758 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.9501, allocations: 499.6 kB / 0.7585 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.9502, allocations: 31.2 kB / 0.7586 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.9504, allocations: 284.6 kB / 0.7588 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.9505, allocations: 127.2 kB / 0.7589 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.9506, allocations: 105.2 kB / 0.759 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.9508, allocations: 363.1 kB / 0.7594 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.9511, allocations: 155.2 kB / 0.7595 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.9514, allocations: 282.9 kB / 0.7598 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.952, allocations: 441 kB / 0.7602 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.952, allocations: 5.5 kB / 0.7602 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008827/0.9529, allocations: 0.5416 MB / 0.7608 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.9529, allocations: 7.781 kB / 0.7608 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9529, allocations: 3.219 kB / 0.7608 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.9543, allocations: 237.5 kB / 0.761 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.9547, allocations: 108.5 kB / 0.7611 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005019/0.9552, allocations: 0.6023 MB / 0.7617 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.9555, allocations: 51.7 kB / 0.7617 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.9556, allocations: 48.34 kB / 0.7618 GB, free: 12.98 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.0002548/0.9558, allocations: 176.2 kB / 0.762 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.9559, allocations: 55.58 kB / 0.762 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.9576, allocations: 1.097 MB / 0.7631 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.9576, allocations: 5.375 kB / 0.7631 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9576, allocations: 0 / 0.7631 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9576, allocations: 0.9062 kB / 0.7631 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.959, allocations: 1.002 MB / 0.7641 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.959, allocations: 6.031 kB / 0.7641 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.9592, allocations: 53.17 kB / 0.7641 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/0.9623, allocations: 448.3 kB / 0.7645 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.9623, allocations: 8.125 kB / 0.7646 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000504/0.9628, allocations: 0.6152 MB / 0.7652 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9628, allocations: 0 / 0.7652 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008439/0.9636, allocations: 0.5097 MB / 0.7657 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.9638, allocations: 67.69 kB / 0.7657 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.9639, allocations: 12.06 kB / 0.7657 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.9642, allocations: 23.53 kB / 0.7658 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/0.9643, allocations: 24.25 kB / 0.7658 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.9643, allocations: 20.62 kB / 0.7658 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004834/0.9648, allocations: 425.8 kB / 0.7662 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.9648, allocations: 0.9688 kB / 0.7662 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009065/0.9657, allocations: 287.5 kB / 0.7665 GB, free: 11.43 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.001902/0.9676, allocations: 1.328 MB / 0.7678 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008488/0.9685, allocations: 361 kB / 0.7681 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.9685, allocations: 2.094 kB / 0.7681 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.9688, allocations: 168.3 kB / 0.7683 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.9705, allocations: 357.1 kB / 0.7686 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/0.9775, allocations: 4.928 MB / 0.7734 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.978, allocations: 0.8656 MB / 0.7743 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001153/0.9792, allocations: 0.5536 MB / 0.7748 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.9796, allocations: 230.3 kB / 0.775 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of SimCode: time 2.314e-06/0.9796, allocations: 0 / 0.775 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05585/1.035, allocations: 21.98 MB / 0.7965 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/15.18, allocations: 4 kB / 0.7965 GB, free: 1.453 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.27318537211977]