Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002152/0.002152, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3606/0.3606, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.962e-05, allocations: 9.266 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003331/0.003361, allocations: 1.84 MB / 379.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.005927, allocations: 1.352 MB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.005996, allocations: 4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.006246, allocations: 43.69 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.00644, allocations: 55.56 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000646/0.007086, allocations: 250.9 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.007268, allocations: 107.4 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.007304, allocations: 5.172 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.007549, allocations: 79.61 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.00767, allocations: 39.89 kB / 381.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.007694, allocations: 7.938 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.00842, allocations: 311.3 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.008452, allocations: 23.86 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.008505, allocations: 27.91 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.009098, allocations: 330.9 kB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.009102, allocations: 0 / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.009103, allocations: 0 / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.009108, allocations: 0 / 381.8 MB, free: 14.46 MB / 362.7 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.0006486/0.009756, allocations: 467.4 kB / 382.2 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.009799, allocations: 8.031 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.009869, allocations: 24.84 kB / 382.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.01, allocations: 120.4 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.01002, allocations: 12.38 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.01006, allocations: 12.38 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.01035, allocations: 126.7 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.01037, allocations: 3.938 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.01038, allocations: 8 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.01039, allocations: 4 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.01064, allocations: 87.94 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.01163, allocations: 474.4 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.0119, allocations: 95.14 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.01202, allocations: 39.67 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.01205, allocations: 4 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.01208, allocations: 37.39 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.01208, allocations: 0 / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004772/0.01256, allocations: 153.4 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.01261, allocations: 51.41 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.01276, allocations: 185.9 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.01279, allocations: 25.7 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.0129, allocations: 166.5 kB / 383.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.01294, allocations: 35.69 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.01301, allocations: 35.38 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.01329, allocations: 0.4923 MB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.0134, allocations: 31.98 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.01355, allocations: 90.03 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.01381, allocations: 142.4 kB / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01381, allocations: 0 / 384.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003397/0.01415, allocations: 153.4 kB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.01417, allocations: 11.94 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.01419, allocations: 0 / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01421, allocations: 8.156 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.01443, allocations: 43.92 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000641/0.01507, allocations: 0.8972 MB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.01519, allocations: 15.89 kB / 385.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01521, allocations: 8 kB / 385.8 MB, free: 10.16 MB / 362.7 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.0001475/0.01536, allocations: 172.5 kB / 386 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.0154, allocations: 7.953 kB / 386 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/0.01581, allocations: 162.5 kB / 386.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01581, allocations: 0 / 386.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01581, allocations: 3.938 kB / 386.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.01582, allocations: 4 kB / 386.1 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.01611, allocations: 176.4 kB / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01611, allocations: 0 / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.01631, allocations: 35.98 kB / 386.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01632, allocations: 4 kB / 386.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.01633, allocations: 7.984 kB / 386.3 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/0.01693, allocations: 0.8932 MB / 387.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01693, allocations: 0 / 387.2 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.01744, allocations: 331.8 kB / 387.6 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.01749, allocations: 15.94 kB / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.01751, allocations: 0 / 387.6 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.01761, allocations: 8 kB / 387.6 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.01766, allocations: 12.08 kB / 387.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.01768, allocations: 11.92 kB / 387.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.134e-05/0.01777, allocations: 135.1 kB / 387.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01777, allocations: 0 / 387.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.01816, allocations: 87.62 kB / 387.8 MB, free: 8.016 MB / 362.7 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.0003741/0.01854, allocations: 194.8 kB / 388 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003783/0.01892, allocations: 115.1 kB / 388.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01892, allocations: 4 kB / 388.1 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.01913, allocations: 71.58 kB / 388.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.01939, allocations: 16.31 kB / 388.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/0.02012, allocations: 289 kB / 388.5 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.02023, allocations: 93.17 kB / 388.6 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.25e-05/0.02031, allocations: 20.47 kB / 388.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.02036, allocations: 20.5 kB / 388.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of SimCode: time 5.1e-07/0.02036, allocations: 0 / 388.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of Templates: time 0.006966/0.02733, allocations: 2.399 MB / 391 MB, free: 4.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.107665889896452]