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.001823/0.001823, allocations: 114 kB / 20.43 MB, free: 1.457 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.002132/0.002132, allocations: 214 kB / 23.74 MB, free: 4.672 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.413/1.413, allocations: 230.5 MB / 257.4 MB, free: 8.02 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.2216/0.2216, allocations: 46.92 MB / 360.8 MB, free: 4.203 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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 71.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3391, allocations: 66.09 MB / 0.5608 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003018/0.3421, allocations: 1.818 MB / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3443, allocations: 1.423 MB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.806e-05/0.3444, allocations: 4 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.3446, allocations: 43.75 kB / 0.564 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.3447, allocations: 55.56 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.3453, allocations: 247.1 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3454, allocations: 107.4 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.3455, allocations: 9.25 kB / 0.5644 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3457, allocations: 55.78 kB / 0.5644 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.293e-05/0.3457, allocations: 47.77 kB / 0.5645 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.3458, allocations: 11.94 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00076/0.3465, allocations: 0.5031 MB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.3465, allocations: 19.77 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.3466, allocations: 39.73 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.3471, allocations: 372.6 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3471, allocations: 0 / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3471, allocations: 0 / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3471, allocations: 0 / 0.5654 GB, free: 15.56 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.000546/0.3477, allocations: 377.3 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3477, allocations: 8.031 kB / 0.5658 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.3478, allocations: 46.73 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.3478, allocations: 12.89 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3479, allocations: 122.3 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3479, allocations: 12.38 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.348, allocations: 15.94 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.3483, allocations: 145.6 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.3483, allocations: 4 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3483, allocations: 7.984 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3483, allocations: 4 kB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.3486, allocations: 139.8 kB / 0.5663 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00088/0.3495, allocations: 493.9 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.3498, allocations: 90.66 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3499, allocations: 48.83 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3499, allocations: 3.984 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.35, allocations: 34.56 kB / 0.5669 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.35, allocations: 7.938 kB / 0.5669 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004678/0.3504, allocations: 157.5 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3505, allocations: 55.41 kB / 0.5671 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.3506, allocations: 121.8 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3506, allocations: 25.7 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.3507, allocations: 119.7 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.3507, allocations: 39.62 kB / 0.5674 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.3508, allocations: 33.72 kB / 0.5674 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3509, allocations: 326.8 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.351, allocations: 35.97 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.3512, allocations: 85.05 kB / 0.5679 GB, free: 12.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3515, allocations: 129 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3515, allocations: 0 / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003393/0.3518, allocations: 153.9 kB / 0.5681 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3518, allocations: 11.98 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3518, allocations: 0 / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3518, allocations: 4 kB / 0.5681 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.352, allocations: 47.91 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004322/0.3525, allocations: 0.5939 MB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.3526, allocations: 15.92 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.3526, allocations: 8 kB / 0.5688 GB, free: 11.81 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.0001029/0.3527, allocations: 123.1 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.3527, allocations: 7.953 kB / 0.5689 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.3532, allocations: 185.4 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3532, allocations: 0 / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3532, allocations: 3.938 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3532, allocations: 0 / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.3534, allocations: 180.7 kB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3534, allocations: 4 kB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.3536, allocations: 51.84 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3536, allocations: 0 / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3537, allocations: 4 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003551/0.354, allocations: 0.5821 MB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.354, allocations: 0 / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.3545, allocations: 303.4 kB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.3545, allocations: 19.91 kB / 0.5702 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3546, allocations: 0 / 0.5702 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3547, allocations: 11.98 kB / 0.5702 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3547, allocations: 11.98 kB / 0.5702 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3547, allocations: 8 kB / 0.5702 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.832e-05/0.3548, allocations: 87.33 kB / 0.5703 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3548, allocations: 4 kB / 0.5703 GB, free: 10.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003547/0.3551, allocations: 87.62 kB / 0.5704 GB, free: 10.07 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.001003/0.3561, allocations: 0.8957 MB / 0.5713 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004071/0.3565, allocations: 128.2 kB / 0.5714 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3565, allocations: 0 / 0.5714 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.3568, allocations: 70.89 kB / 0.5715 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3571, allocations: 8 kB / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.3592, allocations: 1.731 MB / 0.5732 GB, free: 7.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.3596, allocations: 0.7039 MB / 0.5739 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.336e-05/0.3596, allocations: 20.47 kB / 0.5739 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.3597, allocations: 35.42 kB / 0.5739 GB, free: 6.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3597, allocations: 192 / 0.5739 GB, free: 6.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03033/0.39, allocations: 3.982 MB / 0.5778 GB, free: 2.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.89, allocations: 7.922 kB / 0.5778 GB, free: 2.469 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.87193447817117]