Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.0008415/0.0008415, 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.0009674/0.0009674, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.8992/0.8992, 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.245/0.245, allocations: 34.23 MB / 294.8 MB, free: 0.6836 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.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.987e-05, allocations: 2.281 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.3177/0.3177, allocations: 161.4 MB / 0.5894 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003674/0.3214, allocations: 2.03 MB / 0.5914 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006616/0.322, allocations: 27.75 kB / 0.5915 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.3233, allocations: 297.8 kB / 0.5917 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.3266, allocations: 1.224 MB / 0.5929 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.3283, allocations: 0.7173 MB / 0.5936 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002284/0.3306, allocations: 1.499 MB / 0.5951 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008013/0.3314, allocations: 352.5 kB / 0.5954 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.3328, allocations: 0.7675 MB / 0.5962 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006631/0.3334, allocations: 398.8 kB / 0.5966 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.3335, allocations: 48 kB / 0.5966 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.335, allocations: 0.6901 MB / 0.5973 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001722/0.3352, allocations: 155.4 kB / 0.5974 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.3355, allocations: 239.5 kB / 0.5977 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.3378, allocations: 1.293 MB / 0.5989 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3378, allocations: 0 / 0.5989 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3378, allocations: 0 / 0.5989 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.764e-05/0.3378, allocations: 0 / 0.5989 GB, free: 5.266 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001855/0.3397, allocations: 0.9248 MB / 0.5998 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3397, allocations: 8.031 kB / 0.5998 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.231e-05/0.3398, allocations: 82.47 kB / 0.5999 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000589/0.3404, allocations: 147.5 kB / 0.6001 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.3411, allocations: 393.7 kB / 0.6004 GB, free: 3.652 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.3411, allocations: 32.98 kB / 0.6005 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.3412, allocations: 40 kB / 0.6005 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.342, allocations: 0.8527 MB / 0.6013 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.342, allocations: 3.938 kB / 0.6013 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.3421, allocations: 24 kB / 0.6014 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.3421, allocations: 12 kB / 0.6014 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.3426, allocations: 399.6 kB / 0.6018 GB, free: 2.191 MB / 0.4948 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.001871/0.3445, allocations: 1.873 MB / 0.6036 GB, free: 248 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.3449, allocations: 278 kB / 0.6038 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.3451, allocations: 132.8 kB / 0.604 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.3452, allocations: 51.89 kB / 0.604 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3453, allocations: 42.55 kB / 0.6041 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 2.645e-06/0.3453, allocations: 0 / 0.6041 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.001469/0.3467, allocations: 0.6369 MB / 0.6047 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.3468, allocations: 132.5 kB / 0.6048 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.3472, allocations: 449.8 kB / 0.6052 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.3472, allocations: 37.7 kB / 0.6053 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.3476, allocations: 269.1 kB / 0.6055 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.3477, allocations: 111 kB / 0.6056 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.3478, allocations: 105.6 kB / 0.6057 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.3479, allocations: 358.8 kB / 0.6061 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.3482, allocations: 139.9 kB / 0.6062 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003238/0.3485, allocations: 351.6 kB / 0.6066 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.349, allocations: 425.5 kB / 0.607 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.349, allocations: 0 / 0.607 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007938/0.3498, allocations: 0.532 MB / 0.6075 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3499, allocations: 11 kB / 0.6075 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3499, allocations: 4 kB / 0.6075 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.3509, allocations: 268.4 kB / 0.6077 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.3512, allocations: 107.8 kB / 0.6079 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005951/0.3518, allocations: 0.5992 MB / 0.6084 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002732/0.352, allocations: 43.66 kB / 0.6085 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.3521, allocations: 51.97 kB / 0.6085 GB, free: 10.94 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 (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.0002345/0.3523, allocations: 183 kB / 0.6087 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.3524, allocations: 55.61 kB / 0.6088 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3537, allocations: 1.022 MB / 0.6098 GB, free: 9.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3537, allocations: 4 kB / 0.6098 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3537, allocations: 3.984 kB / 0.6098 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3537, allocations: 0 / 0.6098 GB, free: 9.652 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.355, allocations: 0.8909 MB / 0.6106 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.355, allocations: 4 kB / 0.6106 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3551, allocations: 51.89 kB / 0.6107 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/0.3561, allocations: 256.5 kB / 0.6109 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.3561, allocations: 19.92 kB / 0.6109 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006641/0.3568, allocations: 0.6069 MB / 0.6115 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3568, allocations: 0 / 0.6115 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009072/0.3577, allocations: 0.5051 MB / 0.612 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3578, allocations: 55.58 kB / 0.6121 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.3579, allocations: 11.95 kB / 0.6121 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.3581, allocations: 15.98 kB / 0.6121 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.3581, allocations: 33.7 kB / 0.6121 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.3582, allocations: 24.03 kB / 0.6122 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007202/0.3589, allocations: 386.8 kB / 0.6125 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3589, allocations: 0 / 0.6125 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007689/0.3597, allocations: 223.6 kB / 0.6128 GB, free: 6.461 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 (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.00151/0.3612, allocations: 1.243 MB / 0.614 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009481/0.3621, allocations: 359.6 kB / 0.6143 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.3621, allocations: 4 kB / 0.6143 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.3625, allocations: 148.9 kB / 0.6145 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3636, allocations: 353.2 kB / 0.6148 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.3695, allocations: 4.7 MB / 0.6194 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.37, allocations: 246.4 kB / 0.6196 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008737/0.3708, allocations: 0.5471 MB / 0.6202 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.3712, allocations: 220.4 kB / 0.6204 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of SimCode: time 2.124e-06/0.3712, allocations: 0 / 0.6204 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2138/0.5849, allocations: 21.39 MB / 0.6412 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.584, allocations: 5.609 kB / 0.6413 GB, free: 165.6 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 10.631271081976593]