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.0008188/0.0008188, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008211/0.0008211, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8919/0.8919, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2388/0.2388, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 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 1.713e-06/1.713e-06, allocations: 0 / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.263e-05, allocations: 2.281 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.3136/0.3137, allocations: 161.6 MB / 0.5896 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004421/0.3181, allocations: 3.036 MB / 0.5926 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006438/0.3187, allocations: 27.75 kB / 0.5926 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000842/0.3196, allocations: 309.8 kB / 0.5929 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00314/0.3227, allocations: 1.466 MB / 0.5944 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.3242, allocations: 0.7627 MB / 0.5951 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001857/0.3261, allocations: 1.583 MB / 0.5967 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.3266, allocations: 359.9 kB / 0.597 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.328, allocations: 0.8103 MB / 0.5978 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.3284, allocations: 410.8 kB / 0.5982 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.636e-05/0.3285, allocations: 52 kB / 0.5982 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.3301, allocations: 0.9046 MB / 0.5991 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3302, allocations: 171.3 kB / 0.5993 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002184/0.3305, allocations: 251.4 kB / 0.5995 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/0.3324, allocations: 1.546 MB / 0.601 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3324, allocations: 4 kB / 0.601 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3324, allocations: 0 / 0.601 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.3324, allocations: 0 / 0.601 GB, free: 3.102 MB / 0.4948 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.001387/0.3338, allocations: 1.002 MB / 0.602 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3338, allocations: 8.031 kB / 0.602 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.96e-05/0.3339, allocations: 82.53 kB / 0.6021 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005562/0.3344, allocations: 151.5 kB / 0.6022 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006557/0.3351, allocations: 429.6 kB / 0.6026 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.3351, allocations: 33 kB / 0.6027 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.3352, allocations: 40 kB / 0.6027 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.336, allocations: 0.9035 MB / 0.6036 GB, free: 296 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.336, allocations: 0 / 0.6036 GB, free: 296 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/0.336, allocations: 16 kB / 0.6036 GB, free: 280 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3361, allocations: 12 kB / 0.6036 GB, free: 268 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.3367, allocations: 479.7 kB / 0.6041 GB, free: 15.79 MB / 0.5105 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.002167/0.3388, allocations: 1.978 MB / 0.606 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.3393, allocations: 319.5 kB / 0.6063 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.3395, allocations: 161.4 kB / 0.6065 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.3397, allocations: 48.25 kB / 0.6065 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3397, allocations: 42.78 kB / 0.6066 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.3397, allocations: 0 / 0.6066 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.00114/0.3409, allocations: 0.6593 MB / 0.6072 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.3409, allocations: 132.5 kB / 0.6073 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.3414, allocations: 0.498 MB / 0.6078 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.3414, allocations: 29.7 kB / 0.6078 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.3415, allocations: 292.3 kB / 0.6081 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.3416, allocations: 118.9 kB / 0.6082 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.3417, allocations: 114.1 kB / 0.6083 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3418, allocations: 358.8 kB / 0.6087 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.342, allocations: 148.9 kB / 0.6088 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3423, allocations: 361.5 kB / 0.6092 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.3428, allocations: 437.6 kB / 0.6096 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3428, allocations: 0.5625 kB / 0.6096 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006603/0.3434, allocations: 0.5471 MB / 0.6101 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3434, allocations: 7.938 kB / 0.6101 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3435, allocations: 7.938 kB / 0.6101 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008174/0.3443, allocations: 253 kB / 0.6104 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.3445, allocations: 103.9 kB / 0.6105 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003672/0.3449, allocations: 0.5922 MB / 0.6111 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.3451, allocations: 51.62 kB / 0.6111 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.3451, allocations: 47.98 kB / 0.6112 GB, free: 8.223 MB / 0.5105 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.0004809/0.3456, allocations: 181.6 kB / 0.6113 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.691e-05/0.3457, allocations: 55.67 kB / 0.6114 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3469, allocations: 1.105 MB / 0.6125 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3469, allocations: 4 kB / 0.6125 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.3469, allocations: 1.688 kB / 0.6125 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3469, allocations: 7.969 kB / 0.6125 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3479, allocations: 0.9397 MB / 0.6134 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3479, allocations: 0 / 0.6134 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.348, allocations: 51.91 kB / 0.6134 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.3495, allocations: 448.3 kB / 0.6139 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.3495, allocations: 11.94 kB / 0.6139 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003171/0.3498, allocations: 0.6039 MB / 0.6145 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3498, allocations: 0 / 0.6145 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.3504, allocations: 0.5158 MB / 0.615 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3505, allocations: 63.55 kB / 0.615 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.3505, allocations: 15.92 kB / 0.615 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3507, allocations: 18.11 kB / 0.6151 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.3507, allocations: 27.91 kB / 0.6151 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.3508, allocations: 19.98 kB / 0.6151 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003619/0.3511, allocations: 418.8 kB / 0.6155 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3511, allocations: 0 / 0.6155 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006329/0.3518, allocations: 295.2 kB / 0.6158 GB, free: 3.328 MB / 0.5105 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.001269/0.353, allocations: 1.325 MB / 0.6171 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006182/0.3536, allocations: 368.6 kB / 0.6174 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3536, allocations: 0 / 0.6174 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3539, allocations: 165 kB / 0.6176 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3549, allocations: 351.4 kB / 0.6179 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00511/0.36, allocations: 4.963 MB / 0.6228 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.3602, allocations: 267.5 kB / 0.623 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000773/0.3609, allocations: 0.548 MB / 0.6236 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.3612, allocations: 224.4 kB / 0.6238 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of SimCode: time 9.91e-07/0.3612, allocations: 0 / 0.6238 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1943/0.5555, allocations: 23.54 MB / 0.6468 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.725, allocations: 2.75 kB / 0.6468 GB, free: 162.7 MB / 0.5261 GB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/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: 10.741092256270349]