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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 123.6 kB / 18.5 MB, free: 4.621 MB / 14.72 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.002136/0.002136, allocations: 209.7 kB / 21.46 MB, free: 1.664 MB / 14.72 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 1.446/1.446, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.2252/0.2252, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 79.88 kB / 0.4913 GB, free: 8.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.134, allocations: 65.99 MB / 0.5557 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003107/0.1371, allocations: 1.671 MB / 0.5573 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1387, allocations: 0.9152 MB / 0.5582 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.1387, allocations: 0 / 0.5582 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.139, allocations: 39.81 kB / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1391, allocations: 47.75 kB / 0.5583 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.1396, allocations: 135.5 kB / 0.5585 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.1398, allocations: 139.2 kB / 0.5586 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.561e-05/0.1399, allocations: 17.42 kB / 0.5586 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.14, allocations: 47.86 kB / 0.5586 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1401, allocations: 83.59 kB / 0.5587 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1401, allocations: 4 kB / 0.5587 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.1405, allocations: 211.6 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.1406, allocations: 35.84 kB / 0.559 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.886e-05/0.1406, allocations: 67.59 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.141, allocations: 235 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.141, allocations: 3.984 kB / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.141, allocations: 0 / 0.5593 GB, free: 2.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.141, allocations: 0 / 0.5593 GB, free: 2.531 MB / 414.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.0007424/0.1418, allocations: 482.5 kB / 0.5597 GB, free: 2.012 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1418, allocations: 16.02 kB / 0.5597 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.1419, allocations: 46.73 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.143, allocations: 112.7 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1433, allocations: 236 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1433, allocations: 4.375 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.1433, allocations: 16.36 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006664/0.144, allocations: 318.5 kB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.144, allocations: 8 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.144, allocations: 4 kB / 0.5604 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/0.1441, allocations: 19.98 kB / 0.5605 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007906/0.1449, allocations: 323.6 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.1465, allocations: 0.8375 MB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/0.1472, allocations: 218.2 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.1475, allocations: 84.81 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.1475, allocations: 7.969 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.1475, allocations: 34.56 kB / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.1475, allocations: 0 / 0.5619 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.001012/0.1485, allocations: 293.3 kB / 0.5622 GB, free: 15.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.1486, allocations: 59.39 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.1488, allocations: 179.3 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.1488, allocations: 29.7 kB / 0.5625 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1489, allocations: 143.7 kB / 0.5626 GB, free: 14.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1489, allocations: 35.67 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.149, allocations: 57.62 kB / 0.5627 GB, free: 14.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1492, allocations: 322.8 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.1495, allocations: 83.91 kB / 0.5631 GB, free: 14.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.1498, allocations: 136.8 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.1504, allocations: 222.6 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1504, allocations: 4 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007533/0.1512, allocations: 269.6 kB / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1512, allocations: 4 kB / 0.5637 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1512, allocations: 8.156 kB / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1512, allocations: 4.094 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.1517, allocations: 87.8 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.1528, allocations: 1.785 MB / 0.5655 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1531, allocations: 35.7 kB / 0.5656 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.1531, allocations: 11.98 kB / 0.5656 GB, free: 11.68 MB / 430.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.0001588/0.1532, allocations: 141.8 kB / 0.5657 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.1533, allocations: 11.89 kB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008032/0.1541, allocations: 274.8 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1541, allocations: 3.984 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1541, allocations: 4 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1541, allocations: 0 / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.1544, allocations: 245.5 kB / 0.5662 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1544, allocations: 4 kB / 0.5662 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.1548, allocations: 75.86 kB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1548, allocations: 0 / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.1548, allocations: 11.98 kB / 0.5663 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.1559, allocations: 1.781 MB / 0.568 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1559, allocations: 0 / 0.568 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.1567, allocations: 319.2 kB / 0.5683 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.1567, allocations: 89.16 kB / 0.5684 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.1568, allocations: 7.984 kB / 0.5684 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.157, allocations: 8 kB / 0.5684 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.157, allocations: 11.97 kB / 0.5685 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.157, allocations: 16.16 kB / 0.5685 GB, free: 8.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1572, allocations: 140.8 kB / 0.5686 GB, free: 8.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1572, allocations: 3.938 kB / 0.5686 GB, free: 8.379 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.1575, allocations: 63.83 kB / 0.5687 GB, free: 8.316 MB / 430.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.001155/0.1587, allocations: 0.8799 MB / 0.5695 GB, free: 7.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008367/0.1595, allocations: 231.6 kB / 0.5698 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1595, allocations: 0 / 0.5698 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.16, allocations: 127.8 kB / 0.5699 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.1603, allocations: 16.42 kB / 0.5699 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.164, allocations: 2.332 MB / 0.5722 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.1644, allocations: 0.7397 MB / 0.5729 GB, free: 3.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.1646, allocations: 68.97 kB / 0.573 GB, free: 3.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1647, allocations: 55.39 kB / 0.573 GB, free: 3.703 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1647, allocations: 4 kB / 0.573 GB, free: 3.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.1941, allocations: 4.892 MB / 0.5778 GB, free: 15.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.88, allocations: 7.922 kB / 0.5778 GB, free: 15 MB / 446.1 MB " [Timeout remaining time 648] (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 --stepSize=0.0002 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.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: 15.110803617164493]