Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_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/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 75.89 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003165/0.1232, allocations: 1.666 MB / 481.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.1249, allocations: 0.9074 MB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.125, allocations: 0 / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1252, allocations: 31.83 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.1254, allocations: 47.75 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.1259, allocations: 139.5 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1261, allocations: 135.4 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.1262, allocations: 17.44 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.1262, allocations: 55.72 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1264, allocations: 67.69 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1264, allocations: 8 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.1268, allocations: 215.6 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.607e-05/0.1269, allocations: 35.84 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.173e-05/0.1269, allocations: 59.61 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.1273, allocations: 239.5 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1273, allocations: 0 / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1273, allocations: 0 / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1273, allocations: 0 / 483.8 MB, free: 1.531 MB / 350.1 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.0005988/0.1279, allocations: 478.9 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.128, allocations: 15.97 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.128, allocations: 46.73 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.1291, allocations: 116.5 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1294, allocations: 232 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1294, allocations: 8.375 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.1294, allocations: 20.36 kB / 484.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.1301, allocations: 314.6 kB / 485 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1301, allocations: 4 kB / 485 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.1301, allocations: 3.984 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.1302, allocations: 23.98 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.131, allocations: 323.6 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.1324, allocations: 0.8259 MB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.1331, allocations: 214.3 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.1335, allocations: 88.8 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.1335, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1335, allocations: 42.59 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.1335, allocations: 0 / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001044/0.1346, allocations: 293.2 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1346, allocations: 51.41 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1348, allocations: 195.2 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1349, allocations: 25.7 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.135, allocations: 135.6 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.135, allocations: 51.31 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.1351, allocations: 49.67 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1353, allocations: 322.8 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.1356, allocations: 87.89 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.1359, allocations: 134.8 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.1365, allocations: 226.9 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1365, allocations: 0 / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007405/0.1373, allocations: 265.3 kB / 488.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1373, allocations: 12 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.1373, allocations: 3.938 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1373, allocations: 4 kB / 488.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.1378, allocations: 83.86 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008986/0.1387, allocations: 1.785 MB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.1389, allocations: 19.86 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.1389, allocations: 15.98 kB / 490.2 MB, free: 10.7 MB / 366.1 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 (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.1391, allocations: 145.8 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.1391, allocations: 19.94 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007744/0.1399, allocations: 262.8 kB / 490.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1399, allocations: 0 / 490.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1399, allocations: 4 kB / 490.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.14, allocations: 4 kB / 490.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.1402, allocations: 257.5 kB / 490.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1403, allocations: 0 / 490.9 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.1406, allocations: 67.88 kB / 490.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1406, allocations: 96 / 490.9 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.1407, allocations: 15.91 kB / 490.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008424/0.1415, allocations: 1.785 MB / 492.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1415, allocations: 4.031 kB / 492.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.1422, allocations: 319.2 kB / 493.1 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1423, allocations: 89 kB / 493.1 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.764e-05/0.1423, allocations: 4 kB / 493.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.1425, allocations: 7.984 kB / 493.1 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.1426, allocations: 15.97 kB / 493.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.1426, allocations: 11.92 kB / 493.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1427, allocations: 139.9 kB / 493.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1427, allocations: 0 / 493.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.1431, allocations: 63.84 kB / 493.4 MB, free: 7.344 MB / 366.1 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 (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001118/0.1442, allocations: 0.8722 MB / 494.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008846/0.1451, allocations: 243.6 kB / 494.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1451, allocations: 4.375 kB / 494.5 MB, free: 6.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004656/0.1456, allocations: 136.2 kB / 494.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1459, allocations: 19.55 kB / 494.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.1493, allocations: 2.338 MB / 497 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.1496, allocations: 0.7319 MB / 497.7 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.1498, allocations: 69.02 kB / 497.8 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.15, allocations: 63.39 kB / 497.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.15, allocations: 0 / 497.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.1719, allocations: 4.77 MB / 0.4908 GB, free: 14.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.77, allocations: 14.92 kB / 0.4908 GB, free: 14.14 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches