Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 193 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 226.5 MB / 243.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008163/0.0008164, allocations: 106.4 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2772/0.2772, allocations: 44.81 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003603, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3311, allocations: 62.96 MB / 0.516 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.00189/0.333, allocations: 1.359 MB / 0.5173 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3344, allocations: 0.8271 MB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.3345, allocations: 3.938 kB / 0.5181 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.3347, allocations: 27.3 kB / 0.5182 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.3349, allocations: 48.52 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.3353, allocations: 107.5 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.3355, allocations: 161.5 kB / 0.5185 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.3356, allocations: 15.14 kB / 0.5185 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.3356, allocations: 51.78 kB / 0.5185 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3358, allocations: 65.72 kB / 0.5186 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.3358, allocations: 7.094 kB / 0.5186 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.3362, allocations: 199.7 kB / 0.5188 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.557e-05/0.3362, allocations: 40.56 kB / 0.5188 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.956e-05/0.3363, allocations: 80.36 kB / 0.5189 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.3366, allocations: 165.5 kB / 0.5191 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3366, allocations: 0 / 0.5191 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3366, allocations: 0 / 0.5191 GB, free: 35.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3366, allocations: 0 / 0.5191 GB, free: 35.44 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005424/0.3372, allocations: 452.5 kB / 0.5195 GB, free: 35.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3372, allocations: 11.69 kB / 0.5195 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.3373, allocations: 50.12 kB / 0.5195 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.3387, allocations: 123.7 kB / 0.5197 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.339, allocations: 220.6 kB / 0.5199 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.339, allocations: 10.27 kB / 0.5199 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.3391, allocations: 13.22 kB / 0.5199 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.3399, allocations: 333.8 kB / 0.5202 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3399, allocations: 0 / 0.5202 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.3399, allocations: 4 kB / 0.5202 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.34, allocations: 21.31 kB / 0.5202 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.341, allocations: 330.8 kB / 0.5206 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.3426, allocations: 0.8258 MB / 0.5214 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009756/0.3436, allocations: 224.9 kB / 0.5216 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003817/0.344, allocations: 93.55 kB / 0.5217 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3441, allocations: 6 kB / 0.5217 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.3441, allocations: 33.56 kB / 0.5217 GB, free: 33.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.385e-06/0.3441, allocations: 0 / 0.5217 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001325/0.3454, allocations: 320.6 kB / 0.522 GB, free: 33.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.3455, allocations: 51.41 kB / 0.5221 GB, free: 33.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.3456, allocations: 181.6 kB / 0.5222 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.3457, allocations: 29.7 kB / 0.5223 GB, free: 33.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3457, allocations: 134.9 kB / 0.5224 GB, free: 33.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.3458, allocations: 33 kB / 0.5224 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.3458, allocations: 4 kB / 0.5224 GB, free: 33.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.3459, allocations: 328.5 kB / 0.5227 GB, free: 33.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.3463, allocations: 89.22 kB / 0.5228 GB, free: 33.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.3467, allocations: 148.3 kB / 0.523 GB, free: 32.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000793/0.3475, allocations: 229.2 kB / 0.5232 GB, free: 32.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3475, allocations: 0 / 0.5232 GB, free: 32.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009629/0.3485, allocations: 281.4 kB / 0.5234 GB, free: 32.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3485, allocations: 8.312 kB / 0.5235 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3485, allocations: 7.312 kB / 0.5235 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3485, allocations: 6.906 kB / 0.5235 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.3491, allocations: 81.94 kB / 0.5235 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006304/0.3498, allocations: 1.79 MB / 0.5253 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.3501, allocations: 34.25 kB / 0.5253 GB, free: 30.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.3501, allocations: 8.797 kB / 0.5253 GB, free: 30.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.3502, allocations: 145.8 kB / 0.5255 GB, free: 30.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.3503, allocations: 17.47 kB / 0.5255 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.3513, allocations: 270.9 kB / 0.5257 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3514, allocations: 3.062 kB / 0.5258 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3514, allocations: 0 / 0.5258 GB, free: 30.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3514, allocations: 4 kB / 0.5258 GB, free: 30.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.3517, allocations: 258.2 kB / 0.526 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3517, allocations: 0 / 0.526 GB, free: 30.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.3522, allocations: 75.38 kB / 0.5261 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3522, allocations: 0 / 0.5261 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3522, allocations: 10.17 kB / 0.5261 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005739/0.3528, allocations: 1.79 MB / 0.5278 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.3528, allocations: 0 / 0.5278 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.3537, allocations: 338.2 kB / 0.5282 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.3538, allocations: 83.95 kB / 0.5282 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.3538, allocations: 0 / 0.5282 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.3541, allocations: 11.48 kB / 0.5282 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.3542, allocations: 20.17 kB / 0.5283 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.3543, allocations: 13.25 kB / 0.5283 GB, free: 28.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.3544, allocations: 140.5 kB / 0.5284 GB, free: 28.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3544, allocations: 192 / 0.5284 GB, free: 28.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005206/0.3549, allocations: 62.53 kB / 0.5285 GB, free: 28.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.3561, allocations: 0.8855 MB / 0.5293 GB, free: 27.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.3572, allocations: 247.6 kB / 0.5296 GB, free: 27.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3572, allocations: 448 / 0.5296 GB, free: 27.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006062/0.3578, allocations: 140.1 kB / 0.5297 GB, free: 27.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.3582, allocations: 6.781 kB / 0.5297 GB, free: 27.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.361, allocations: 1.242 MB / 0.5309 GB, free: 26.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.3612, allocations: 0.7401 MB / 0.5316 GB, free: 26.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3614, allocations: 62.28 kB / 0.5317 GB, free: 26.11 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.3614, allocations: 0 / 0.5317 GB, free: 26.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.444/3.805, allocations: 5.073 MB / 0.5367 GB, free: 25.75 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches