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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001441/0.001441, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.2234/0.2234, allocations: 46.95 MB / 361.6 MB, free: 3.938 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.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 79.88 kB / 0.4969 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3122, allocations: 66.09 MB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003312/0.3155, allocations: 1.775 MB / 0.5632 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.3178, allocations: 1.275 MB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.3179, allocations: 4 kB / 0.5645 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.3181, allocations: 35.78 kB / 0.5645 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.3183, allocations: 59.61 kB / 0.5645 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.3189, allocations: 246.6 kB / 0.5648 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3191, allocations: 107.4 kB / 0.5649 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.3191, allocations: 9.312 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.3193, allocations: 59.7 kB / 0.5649 GB, free: 472 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.3194, allocations: 51.72 kB / 0.565 GB, free: 420 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.3194, allocations: 4 kB / 0.565 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.32, allocations: 327.4 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.32, allocations: 15.92 kB / 0.5653 GB, free: 72 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3201, allocations: 39.72 kB / 0.5654 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005112/0.3206, allocations: 312.8 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3206, allocations: 4 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3206, allocations: 4 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.3206, allocations: 0 / 0.5657 GB, free: 15.71 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005728/0.3212, allocations: 373.4 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3212, allocations: 8.031 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.451e-05/0.3212, allocations: 4.188 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.3213, allocations: 46.73 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.3213, allocations: 12.89 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.3214, allocations: 122.3 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3214, allocations: 24.06 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.3215, allocations: 16 kB / 0.5662 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.3218, allocations: 145.6 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.3218, allocations: 0 / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3218, allocations: 4 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3218, allocations: 4 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.3221, allocations: 135.9 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.3231, allocations: 446.2 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.3233, allocations: 90.66 kB / 0.567 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.3235, allocations: 44.83 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3235, allocations: 0 / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3235, allocations: 34.56 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.3235, allocations: 0 / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004939/0.324, allocations: 169.4 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.324, allocations: 55.41 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.3241, allocations: 113.8 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3242, allocations: 29.7 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.3242, allocations: 115.7 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.3243, allocations: 43.61 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.3243, allocations: 33.7 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3245, allocations: 322.8 kB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.3246, allocations: 35.97 kB / 0.568 GB, free: 13.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3248, allocations: 85.11 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.325, allocations: 129 kB / 0.5682 GB, free: 12.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.325, allocations: 0 / 0.5682 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003462/0.3254, allocations: 165.8 kB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3254, allocations: 4 kB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3254, allocations: 4 kB / 0.5684 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3254, allocations: 0 / 0.5684 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.3257, allocations: 51.95 kB / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004621/0.3262, allocations: 0.5937 MB / 0.569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3263, allocations: 16.17 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.3263, allocations: 12.38 kB / 0.569 GB, free: 12.03 MB / 414.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 0.000122/0.3264, allocations: 119.1 kB / 0.5691 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.3264, allocations: 7.953 kB / 0.5691 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.3269, allocations: 177.9 kB / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3269, allocations: 3.938 kB / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3269, allocations: 0 / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3269, allocations: 0 / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.3272, allocations: 180.7 kB / 0.5695 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3272, allocations: 0 / 0.5695 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3274, allocations: 43.91 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.3274, allocations: 0 / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.3274, allocations: 4 kB / 0.5695 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003528/0.3277, allocations: 0.5899 MB / 0.5701 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3277, allocations: 0 / 0.5701 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.3282, allocations: 307.2 kB / 0.5704 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.3283, allocations: 11.97 kB / 0.5704 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.3283, allocations: 11.94 kB / 0.5704 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3284, allocations: 7.984 kB / 0.5704 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3285, allocations: 11.98 kB / 0.5704 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.3285, allocations: 4 kB / 0.5704 GB, free: 10.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.413e-05/0.3285, allocations: 95.42 kB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3285, allocations: 0 / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004107/0.329, allocations: 79.62 kB / 0.5706 GB, free: 10.3 MB / 414.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.0011/0.3301, allocations: 0.9019 MB / 0.5715 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004435/0.3305, allocations: 127.9 kB / 0.5716 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3305, allocations: 0 / 0.5716 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.3307, allocations: 67.22 kB / 0.5717 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.331, allocations: 17.7 kB / 0.5717 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.3333, allocations: 1.72 MB / 0.5734 GB, free: 7.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.3334, allocations: 96.98 kB / 0.5735 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.159e-05/0.3335, allocations: 24.88 kB / 0.5735 GB, free: 7.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.3336, allocations: 35.42 kB / 0.5735 GB, free: 7.164 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3336, allocations: 0 / 0.5735 GB, free: 7.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.3614, allocations: 4.06 MB / 0.5775 GB, free: 3.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.71, allocations: 11.91 kB / 0.5775 GB, free: 3.258 MB / 414.1 MB " [Timeout remaining time 647] (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 --stepSize=0.0002 --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) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.750530818011612]