Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 113.4 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 188.1 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4467, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03605/0.4829, allocations: 30.05 MB / 0.5482 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02003/0.503, allocations: 15.51 MB / 0.5634 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.5035, allocations: 7.938 kB / 0.5634 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008011/0.5044, allocations: 214.6 kB / 0.5636 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006927/0.5051, allocations: 282.3 kB / 0.5639 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01971/0.5248, allocations: 5.615 MB / 0.5693 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.5264, allocations: 0.8147 MB / 0.5701 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.5268, allocations: 228.7 kB / 0.5704 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.5381, allocations: 5.481 MB / 0.5757 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.5387, allocations: 231 kB / 0.5759 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.5388, allocations: 28 kB / 0.576 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.5521, allocations: 6.076 MB / 0.5819 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.5524, allocations: 87.72 kB / 0.582 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.5528, allocations: 187.1 kB / 0.5822 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.565, allocations: 3.649 MB / 0.5857 GB, free: 7.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.565, allocations: 3.984 kB / 0.5857 GB, free: 7.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.565, allocations: 4 kB / 0.5857 GB, free: 7.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.5651, allocations: 0 / 0.5857 GB, free: 7.422 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002907/0.568, allocations: 0.9977 MB / 0.5867 GB, free: 6.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.568, allocations: 8.031 kB / 0.5867 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/0.569, allocations: 112.5 kB / 0.5868 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.5695, allocations: 334.5 kB / 0.5871 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.5695, allocations: 24.94 kB / 0.5872 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.5695, allocations: 28.36 kB / 0.5872 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.5706, allocations: 458.8 kB / 0.5876 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5706, allocations: 3.984 kB / 0.5876 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.5707, allocations: 12 kB / 0.5876 GB, free: 5.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.5707, allocations: 11.94 kB / 0.5876 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5717, allocations: 369.3 kB / 0.588 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.5746, allocations: 2.383 MB / 0.5903 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/0.5756, allocations: 278.3 kB / 0.5906 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.5758, allocations: 96.78 kB / 0.5907 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.5763, allocations: 481.4 kB / 0.5911 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.5763, allocations: 42.56 kB / 0.5912 GB, free: 1.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.5763, allocations: 0 / 0.5912 GB, free: 1.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001614/0.5779, allocations: 445.2 kB / 0.5916 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.578, allocations: 110.7 kB / 0.5917 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.5783, allocations: 320.5 kB / 0.592 GB, free: 484 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5784, allocations: 25.7 kB / 0.592 GB, free: 452 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.5785, allocations: 211.6 kB / 0.5922 GB, free: 232 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.5786, allocations: 43.39 kB / 0.5923 GB, free: 188 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.5787, allocations: 65.59 kB / 0.5924 GB, free: 116 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5788, allocations: 334.8 kB / 0.5927 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.5791, allocations: 87.92 kB / 0.5928 GB, free: 15.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.5794, allocations: 199.4 kB / 0.5929 GB, free: 15.44 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/0.58, allocations: 285.4 kB / 0.5932 GB, free: 15.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.58, allocations: 0 / 0.5932 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007011/0.5807, allocations: 320.8 kB / 0.5935 GB, free: 14.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5808, allocations: 10.81 kB / 0.5935 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5808, allocations: 4 kB / 0.5935 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.5808, allocations: 4 kB / 0.5935 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.5811, allocations: 67.89 kB / 0.5936 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.5811, allocations: 12.34 kB / 0.5936 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.5814, allocations: 43.67 kB / 0.5937 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.5814, allocations: 19.98 kB / 0.5937 GB, free: 14.64 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.5816, allocations: 149.7 kB / 0.5938 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.5816, allocations: 27.72 kB / 0.5938 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.5827, allocations: 0.7405 MB / 0.5946 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.5828, allocations: 11.98 kB / 0.5946 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5828, allocations: 3.938 kB / 0.5946 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5828, allocations: 0 / 0.5946 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.5834, allocations: 0.5336 MB / 0.5951 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5834, allocations: 0 / 0.5951 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.5836, allocations: 51.95 kB / 0.5952 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5836, allocations: 0 / 0.5952 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5836, allocations: 4 kB / 0.5952 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5836, allocations: 0 / 0.5952 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5836, allocations: 3.938 kB / 0.5952 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.5843, allocations: 465.6 kB / 0.5956 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.5844, allocations: 108.6 kB / 0.5957 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.5845, allocations: 35.66 kB / 0.5957 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.5847, allocations: 15.92 kB / 0.5958 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.5848, allocations: 19.92 kB / 0.5958 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.5848, allocations: 7.984 kB / 0.5958 GB, free: 12.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003541/0.5852, allocations: 342.9 kB / 0.5961 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5852, allocations: 0 / 0.5961 GB, free: 12.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002978/0.5882, allocations: 0.8471 MB / 0.5969 GB, free: 11.19 MB / 462.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004056/0.5923, allocations: 0.9776 MB / 0.5979 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008111/0.5931, allocations: 279.5 kB / 0.5982 GB, free: 9.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5931, allocations: 0 / 0.5982 GB, free: 9.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.5934, allocations: 168.8 kB / 0.5983 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5944, allocations: 178.3 kB / 0.5985 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.5959, allocations: 0.827 MB / 0.5993 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.5963, allocations: 0.8385 MB / 0.6001 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003192/0.5966, allocations: 145.7 kB / 0.6003 GB, free: 7.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.5967, allocations: 39.42 kB / 0.6003 GB, free: 7.707 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.5967, allocations: 0 / 0.6003 GB, free: 7.707 MB / 462.1 MB Notification: Performance of Templates: time 0.0467/0.6434, allocations: 33.9 MB / 0.6334 GB, free: 5.848 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches