Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001866/0.001866, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00231/0.00231, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2291/0.2291, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 59.91 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3132, allocations: 66.04 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.2145/0.5277, allocations: 161.5 MB / 0.7183 GB, free: 2.102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.5327, allocations: 2.03 MB / 0.7203 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.5333, allocations: 23.75 kB / 0.7203 GB, free: 44 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.5345, allocations: 282 kB / 0.7206 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.5389, allocations: 1.214 MB / 0.7218 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.5413, allocations: 0.685 MB / 0.7225 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002679/0.544, allocations: 1.492 MB / 0.7239 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.545, allocations: 367.7 kB / 0.7243 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.5464, allocations: 0.5877 MB / 0.7249 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009908/0.5474, allocations: 430.2 kB / 0.7253 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002019/0.5476, allocations: 51.94 kB / 0.7253 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.5495, allocations: 0.6817 MB / 0.726 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.5498, allocations: 163.3 kB / 0.7261 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005324/0.5503, allocations: 270.9 kB / 0.7264 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.5529, allocations: 1.203 MB / 0.7276 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5529, allocations: 0 / 0.7276 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5529, allocations: 0 / 0.7276 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.305e-05/0.553, allocations: 0 / 0.7276 GB, free: 8.629 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002334/0.5553, allocations: 0.9364 MB / 0.7285 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5553, allocations: 12.03 kB / 0.7285 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.5555, allocations: 86.53 kB / 0.7286 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.5566, allocations: 139.5 kB / 0.7287 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.5576, allocations: 397.7 kB / 0.7291 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.5576, allocations: 33 kB / 0.7291 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.422e-05/0.5577, allocations: 39.94 kB / 0.7292 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.5591, allocations: 0.8489 MB / 0.73 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5592, allocations: 0 / 0.73 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.5592, allocations: 19.94 kB / 0.73 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5592, allocations: 16 kB / 0.73 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009684/0.5602, allocations: 403.6 kB / 0.7304 GB, free: 5.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.003357/0.5636, allocations: 1.887 MB / 0.7322 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.5643, allocations: 272.6 kB / 0.7325 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.5646, allocations: 132.9 kB / 0.7326 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.5648, allocations: 39.97 kB / 0.7327 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.5648, allocations: 46.5 kB / 0.7327 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.833e-06/0.5648, allocations: 0 / 0.7327 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002639/0.5675, allocations: 0.6267 MB / 0.7333 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.5676, allocations: 136.5 kB / 0.7335 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.5682, allocations: 453.8 kB / 0.7339 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.5683, allocations: 33.7 kB / 0.7339 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/0.5685, allocations: 280.2 kB / 0.7342 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5687, allocations: 99.17 kB / 0.7343 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.5689, allocations: 109.5 kB / 0.7344 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002485/0.5691, allocations: 358.8 kB / 0.7347 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.5695, allocations: 147.9 kB / 0.7349 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.5701, allocations: 348.4 kB / 0.7352 GB, free: 384 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.241/0.8111, allocations: 420.2 kB / 0.7356 GB, free: 176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.8111, allocations: 1.188 kB / 0.7356 GB, free: 176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001551/0.8127, allocations: 0.5259 MB / 0.7361 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.8127, allocations: 10.92 kB / 0.7361 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.8127, allocations: 3.219 kB / 0.7361 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.8149, allocations: 273.7 kB / 0.7364 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.8154, allocations: 102.2 kB / 0.7365 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008696/0.8163, allocations: 0.6016 MB / 0.7371 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.8168, allocations: 55.97 kB / 0.7371 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.8169, allocations: 48.14 kB / 0.7372 GB, free: 175.4 MB / 0.5606 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002909/0.8172, allocations: 172.7 kB / 0.7373 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.8173, allocations: 60.83 kB / 0.7374 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.8195, allocations: 1.027 MB / 0.7384 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.8195, allocations: 3.156 kB / 0.7384 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.8195, allocations: 4.438 kB / 0.7384 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.8195, allocations: 0.75 kB / 0.7384 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.821, allocations: 0.8863 MB / 0.7393 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.821, allocations: 3.75 kB / 0.7393 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.8213, allocations: 58.36 kB / 0.7393 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.8229, allocations: 254.8 kB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.8229, allocations: 17.78 kB / 0.7396 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007532/0.8237, allocations: 0.6065 MB / 0.7402 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8237, allocations: 3.906 kB / 0.7402 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.8248, allocations: 0.5008 MB / 0.7407 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.8249, allocations: 66.33 kB / 0.7407 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.469e-05/0.825, allocations: 9.094 kB / 0.7408 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.8254, allocations: 15.84 kB / 0.7408 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.8255, allocations: 28.17 kB / 0.7408 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.8255, allocations: 16 kB / 0.7408 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004062/0.8259, allocations: 390.1 kB / 0.7412 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8259, allocations: 0 / 0.7412 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007325/0.8266, allocations: 225.6 kB / 0.7414 GB, free: 173.3 MB / 0.5606 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.001661/0.8283, allocations: 1.225 MB / 0.7426 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.8296, allocations: 362.8 kB / 0.7429 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8296, allocations: 5.562 kB / 0.7429 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.8302, allocations: 152.2 kB / 0.7431 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.8317, allocations: 344.3 kB / 0.7434 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.8376, allocations: 4.716 MB / 0.748 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.8377, allocations: 242.4 kB / 0.7483 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008348/0.8386, allocations: 0.5466 MB / 0.7488 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.8389, allocations: 215.3 kB / 0.749 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.8389, allocations: 4 kB / 0.749 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.8863, allocations: 21.34 MB / 0.7698 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.25, allocations: 15.44 kB / 0.7699 GB, free: 144.5 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.415513704996556]