Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.0009154/0.0009155, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 226.5 MB / 243.4 MB, free: 8.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007521/0.0007517, allocations: 90.88 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2791/0.2791, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.000249, allocations: 8 kB / 465.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2663, allocations: 62.96 MB / 0.516 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001452/0.2678, allocations: 1.494 MB / 0.5174 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2692, allocations: 1.269 MB / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.2692, allocations: 3 kB / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.2694, allocations: 38.12 kB / 0.5187 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2695, allocations: 40.05 kB / 0.5188 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.2699, allocations: 200.9 kB / 0.519 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.27, allocations: 106.2 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.27, allocations: 7.734 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.2702, allocations: 43.97 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.2702, allocations: 50.84 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.2703, allocations: 2.875 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.2708, allocations: 487.4 kB / 0.5196 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.2708, allocations: 18.36 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.2708, allocations: 67.42 kB / 0.5197 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.2711, allocations: 229.5 kB / 0.5199 GB, free: 34.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2711, allocations: 0 / 0.5199 GB, free: 34.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2711, allocations: 0 / 0.5199 GB, free: 34.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.2711, allocations: 3.938 kB / 0.5199 GB, free: 34.53 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0003731/0.2715, allocations: 424.6 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2715, allocations: 8.656 kB / 0.5203 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.2716, allocations: 47.98 kB / 0.5204 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.2716, allocations: 14.03 kB / 0.5204 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.603e-05/0.2717, allocations: 178.2 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2717, allocations: 10.25 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.2717, allocations: 16.66 kB / 0.5206 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.272, allocations: 141.3 kB / 0.5207 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.272, allocations: 6.969 kB / 0.5207 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.272, allocations: 4 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.272, allocations: 3.031 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.2723, allocations: 152.7 kB / 0.5209 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.2729, allocations: 0.518 MB / 0.5214 GB, free: 33.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.2732, allocations: 102.9 kB / 0.5215 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.2733, allocations: 58.19 kB / 0.5215 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2733, allocations: 2.75 kB / 0.5215 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.147e-05/0.2733, allocations: 33.75 kB / 0.5216 GB, free: 33.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.2734, allocations: 2.656 kB / 0.5216 GB, free: 33.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00041/0.2738, allocations: 179.2 kB / 0.5218 GB, free: 33.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.2738, allocations: 54.09 kB / 0.5218 GB, free: 33.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.963e-05/0.2739, allocations: 116.2 kB / 0.5219 GB, free: 32.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.2739, allocations: 25.7 kB / 0.5219 GB, free: 32.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.2739, allocations: 120.9 kB / 0.5221 GB, free: 32.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2739, allocations: 48.59 kB / 0.5221 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.2739, allocations: 0 / 0.5221 GB, free: 32.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.274, allocations: 322 kB / 0.5224 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2741, allocations: 41.12 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2742, allocations: 94.48 kB / 0.5225 GB, free: 32.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002462/0.2745, allocations: 137.7 kB / 0.5227 GB, free: 32.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2745, allocations: 0 / 0.5227 GB, free: 32.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002939/0.2748, allocations: 166.1 kB / 0.5228 GB, free: 32.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.2748, allocations: 6.562 kB / 0.5228 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2748, allocations: 3.188 kB / 0.5228 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2748, allocations: 2.719 kB / 0.5228 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.275, allocations: 58.59 kB / 0.5229 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001887/0.2752, allocations: 0.595 MB / 0.5235 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.2753, allocations: 16.56 kB / 0.5235 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2754, allocations: 8.688 kB / 0.5235 GB, free: 31.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.156e-05/0.2754, allocations: 127.2 kB / 0.5236 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2755, allocations: 6.812 kB / 0.5236 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.2758, allocations: 181.1 kB / 0.5238 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2758, allocations: 0 / 0.5238 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2759, allocations: 6.812 kB / 0.5238 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2759, allocations: 0 / 0.5238 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/0.276, allocations: 209 kB / 0.524 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2761, allocations: 0 / 0.524 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.2762, allocations: 50.59 kB / 0.5241 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2763, allocations: 7.938 kB / 0.5241 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2763, allocations: 2.75 kB / 0.5241 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001509/0.2764, allocations: 0.586 MB / 0.5246 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2764, allocations: 0 / 0.5246 GB, free: 30.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.2768, allocations: 316.4 kB / 0.5249 GB, free: 30.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.2769, allocations: 95.16 kB / 0.525 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.2769, allocations: 6.219 kB / 0.525 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.277, allocations: 14.03 kB / 0.5251 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.2771, allocations: 12.28 kB / 0.5251 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.2771, allocations: 6.875 kB / 0.5251 GB, free: 30.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.324e-05/0.2771, allocations: 84.69 kB / 0.5251 GB, free: 30.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2771, allocations: 0 / 0.5251 GB, free: 30.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.2774, allocations: 78.64 kB / 0.5252 GB, free: 30.12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006882/0.2781, allocations: 0.9209 MB / 0.5261 GB, free: 29.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003449/0.2785, allocations: 139 kB / 0.5263 GB, free: 29.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2785, allocations: 0 / 0.5263 GB, free: 29.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.2787, allocations: 75.16 kB / 0.5263 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.2789, allocations: 9.922 kB / 0.5263 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.28, allocations: 0.8513 MB / 0.5272 GB, free: 28.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2801, allocations: 0.7064 MB / 0.5279 GB, free: 28.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.2802, allocations: 44.19 kB / 0.5279 GB, free: 28 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2802, allocations: 0 / 0.5279 GB, free: 28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.98/3.261, allocations: 2.819 MB / 0.5307 GB, free: 27.74 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches