Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001331/0.001331, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001647/0.001647, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.505/1.505, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2466/0.2466, allocations: 46.9 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 79.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3715, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003713/0.3752, allocations: 1.835 MB / 0.563 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.3776, allocations: 1.415 MB / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.3777, allocations: 0 / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.3779, allocations: 43.77 kB / 0.5644 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.3781, allocations: 55.61 kB / 0.5645 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.3786, allocations: 247 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.3788, allocations: 111.4 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.3788, allocations: 5.125 kB / 0.5648 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.379, allocations: 51.78 kB / 0.5649 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.3791, allocations: 51.7 kB / 0.5649 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3791, allocations: 4 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.3798, allocations: 0.5107 MB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.3799, allocations: 19.84 kB / 0.5655 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.3799, allocations: 51.67 kB / 0.5655 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005571/0.3805, allocations: 361.6 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3805, allocations: 0 / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3805, allocations: 0 / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3805, allocations: 0 / 0.5658 GB, free: 276 kB / 398.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.0006326/0.3811, allocations: 450.5 kB / 0.5663 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3812, allocations: 12.03 kB / 0.5663 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.3812, allocations: 8.891 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3813, allocations: 180.2 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3814, allocations: 12.38 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.3814, allocations: 16.12 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.3817, allocations: 141.5 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3817, allocations: 0 / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3817, allocations: 8 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3817, allocations: 0 / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.3821, allocations: 135.9 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.383, allocations: 0.5184 MB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.3833, allocations: 94.53 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.3834, allocations: 52.83 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.3834, allocations: 4 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3835, allocations: 30.56 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.3835, allocations: 0 / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005154/0.384, allocations: 165.5 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.384, allocations: 51.41 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.3841, allocations: 121.8 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3841, allocations: 29.7 kB / 0.5678 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.3842, allocations: 123.6 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.3842, allocations: 35.69 kB / 0.568 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.944e-05/0.3843, allocations: 29.72 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3844, allocations: 318.8 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3846, allocations: 35.97 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3847, allocations: 88.58 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.385, allocations: 136.9 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.385, allocations: 0 / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000352/0.3854, allocations: 161.4 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3854, allocations: 10.44 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3854, allocations: 4.156 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3854, allocations: 4 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.3856, allocations: 43.91 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004092/0.386, allocations: 0.5976 MB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3861, allocations: 15.95 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3861, allocations: 8 kB / 0.5694 GB, free: 12.38 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.0001094/0.3862, allocations: 117.9 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.3863, allocations: 7.953 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.3867, allocations: 177.8 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.3867, allocations: 4 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3867, allocations: 3.938 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3867, allocations: 7.938 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/0.387, allocations: 209.6 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.387, allocations: 0 / 0.5699 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.3872, allocations: 43.91 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3872, allocations: 4 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3872, allocations: 0 / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003644/0.3876, allocations: 0.5937 MB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3876, allocations: 0 / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.3881, allocations: 291.4 kB / 0.5708 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.3882, allocations: 96.95 kB / 0.5709 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.3882, allocations: 4.156 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3883, allocations: 11.98 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.3884, allocations: 11.98 kB / 0.5709 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3884, allocations: 4 kB / 0.5709 GB, free: 10.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.3884, allocations: 91.27 kB / 0.571 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3884, allocations: 0 / 0.571 GB, free: 10.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.3888, allocations: 79.67 kB / 0.571 GB, free: 10.52 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.0003414/0.3891, allocations: 182.9 kB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000417/0.3896, allocations: 124.1 kB / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3896, allocations: 0 / 0.5713 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.3898, allocations: 71.52 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3901, allocations: 8 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.3908, allocations: 311.6 kB / 0.5717 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3912, allocations: 0.712 MB / 0.5724 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.4e-05/0.3912, allocations: 20.48 kB / 0.5724 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.3913, allocations: 23.42 kB / 0.5724 GB, free: 9.023 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3913, allocations: 0 / 0.5724 GB, free: 9.023 MB / 414.1 MB Notification: Performance of Templates: time 0.006856/0.3981, allocations: 2.405 MB / 0.5748 GB, free: 6.656 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.616737146861851]