Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_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/ModelicaServices trunk/package.mo): time 0.0009369/0.000937, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.001299, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.7 MB / 246.8 MB, free: 9.617 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1898/0.1898, allocations: 46.19 MB / 345.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002277, allocations: 4 kB / 419.6 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1069, allocations: 63.55 MB / 483.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002062/0.1091, allocations: 1.532 MB / 484.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1112, allocations: 1.395 MB / 486.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.1113, allocations: 0 / 486.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.1115, allocations: 35.83 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.1117, allocations: 43.69 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005415/0.1122, allocations: 207.4 kB / 486.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.1124, allocations: 111.4 kB / 486.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1124, allocations: 5.125 kB / 486.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.1126, allocations: 43.73 kB / 486.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.523e-05/0.1127, allocations: 59.69 kB / 486.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1127, allocations: 4 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006715/0.1134, allocations: 0.4951 MB / 487.1 MB, free: 44 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1134, allocations: 23.91 kB / 487.1 MB, free: 20 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.1135, allocations: 65.38 kB / 487.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.114, allocations: 351.3 kB / 487.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.114, allocations: 4 kB / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.114, allocations: 0 / 487.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1141, allocations: 0 / 487.5 MB, free: 15.6 MB / 366.1 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.0005042/0.1146, allocations: 427.2 kB / 488 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1146, allocations: 12.03 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.1147, allocations: 50.67 kB / 488 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.1147, allocations: 12.84 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1148, allocations: 180.2 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1148, allocations: 8.375 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.1149, allocations: 15.92 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1152, allocations: 149.5 kB / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.1152, allocations: 0 / 488.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1152, allocations: 15.94 kB / 488.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1152, allocations: 4 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.1155, allocations: 143.9 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008956/0.1165, allocations: 0.5182 MB / 489.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1168, allocations: 110.6 kB / 489.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.1169, allocations: 52.83 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.117, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.117, allocations: 34.56 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.117, allocations: 0 / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005162/0.1175, allocations: 177.8 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1176, allocations: 55.34 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.1177, allocations: 129.8 kB / 489.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1177, allocations: 25.7 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.1178, allocations: 111.8 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1178, allocations: 39.39 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.1179, allocations: 17.72 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.118, allocations: 326.8 kB / 490.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1182, allocations: 43.97 kB / 490.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1183, allocations: 84.08 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.1186, allocations: 137.1 kB / 490.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.1186, allocations: 0 / 490.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004087/0.1191, allocations: 177.3 kB / 490.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1191, allocations: 8 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1191, allocations: 0 / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1191, allocations: 4.156 kB / 490.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.1194, allocations: 51.97 kB / 490.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003769/0.1197, allocations: 0.5898 MB / 491.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1199, allocations: 23.83 kB / 491.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1199, allocations: 4 kB / 491.2 MB, free: 11.61 MB / 366.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/0.12, allocations: 117.9 kB / 491.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.12, allocations: 15.89 kB / 491.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.1205, allocations: 174.2 kB / 491.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1205, allocations: 4 kB / 491.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1205, allocations: 3.938 kB / 491.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1205, allocations: 0 / 491.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1207, allocations: 213.5 kB / 491.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1207, allocations: 0 / 491.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.1209, allocations: 47.97 kB / 491.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.121, allocations: 4 kB / 491.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.121, allocations: 11.97 kB / 491.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002593/0.1212, allocations: 0.5898 MB / 492.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1213, allocations: 4 kB / 492.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.1217, allocations: 315 kB / 492.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.1218, allocations: 96.94 kB / 492.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1218, allocations: 0 / 492.8 MB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1219, allocations: 16.06 kB / 492.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.122, allocations: 7.984 kB / 492.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.122, allocations: 7.984 kB / 492.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.625e-05/0.1221, allocations: 99.16 kB / 492.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1221, allocations: 0 / 492.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004115/0.1225, allocations: 72.2 kB / 493 MB, free: 9.715 MB / 366.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.1236, allocations: 0.9191 MB / 493.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.124, allocations: 139.9 kB / 494.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.124, allocations: 0 / 494.1 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1242, allocations: 79.89 kB / 494.1 MB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1245, allocations: 15.31 kB / 494.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.1265, allocations: 1.822 MB / 496 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1268, allocations: 0.7004 MB / 496.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.75e-05/0.1269, allocations: 16.73 kB / 496.7 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.127, allocations: 35.42 kB / 496.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.127, allocations: 3.938 kB / 496.7 MB, free: 5.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.1405, allocations: 3.536 MB / 0.4885 GB, free: 2.551 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.1407, allocations: 287.7 kB / 0.4888 GB, free: 2.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.912, allocations: 64 / 0.4888 GB, free: 2.172 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches