Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 195.7 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008399/0.0008399, allocations: 100.5 kB / 295.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3416/0.3416, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002886, allocations: 8 kB / 465.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3784, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02136/0.3998, allocations: 28.1 MB / 0.5433 GB, free: 17.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.4157, allocations: 16.38 MB / 0.5593 GB, free: 5.582 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.4162, allocations: 7.781 kB / 0.5593 GB, free: 5.578 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.4168, allocations: 173.1 kB / 0.5595 GB, free: 5.484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006771/0.4175, allocations: 268.3 kB / 0.5597 GB, free: 5.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01657/0.4341, allocations: 4.669 MB / 0.5643 GB, free: 2.965 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.4356, allocations: 0.9614 MB / 0.5652 GB, free: 2.395 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.4359, allocations: 206.8 kB / 0.5654 GB, free: 2.262 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01647/0.4524, allocations: 8.964 MB / 0.5742 GB, free: 13.7 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006057/0.4531, allocations: 243 kB / 0.5744 GB, free: 13.46 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.4531, allocations: 12 kB / 0.5744 GB, free: 13.45 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01262/0.4658, allocations: 6.055 MB / 0.5803 GB, free: 7.383 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.466, allocations: 71.72 kB / 0.5804 GB, free: 7.312 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.4664, allocations: 197 kB / 0.5806 GB, free: 7.113 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005387/0.4718, allocations: 2.608 MB / 0.5832 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4718, allocations: 0 / 0.5832 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4718, allocations: 0 / 0.5832 GB, free: 4.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.4718, allocations: 0 / 0.5832 GB, free: 4.5 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002657/0.4745, allocations: 0.9824 MB / 0.5841 GB, free: 3.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4745, allocations: 8.031 kB / 0.5841 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.4762, allocations: 212.4 kB / 0.5843 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.4767, allocations: 326.5 kB / 0.5846 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.4768, allocations: 28.92 kB / 0.5847 GB, free: 2.867 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.4768, allocations: 24.38 kB / 0.5847 GB, free: 2.844 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.4782, allocations: 0.4989 MB / 0.5852 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4782, allocations: 3.938 kB / 0.5852 GB, free: 2.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.4782, allocations: 12 kB / 0.5852 GB, free: 2.289 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4782, allocations: 4 kB / 0.5852 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.4795, allocations: 437.3 kB / 0.5856 GB, free: 1.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.4826, allocations: 2.446 MB / 0.588 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.4838, allocations: 362.2 kB / 0.5883 GB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.4841, allocations: 116.8 kB / 0.5885 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03157/0.5157, allocations: 18.48 MB / 0.6065 GB, free: 9.867 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.5158, allocations: 34.56 kB / 0.6065 GB, free: 9.824 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/0.5158, allocations: 4 kB / 0.6065 GB, free: 9.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.002152/0.5179, allocations: 0.5729 MB / 0.6071 GB, free: 9.242 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/0.518, allocations: 106.8 kB / 0.6072 GB, free: 9.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003815/0.5184, allocations: 320.7 kB / 0.6075 GB, free: 8.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.5185, allocations: 29.7 kB / 0.6075 GB, free: 8.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.5186, allocations: 199.7 kB / 0.6077 GB, free: 8.559 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.5187, allocations: 51.2 kB / 0.6078 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.5187, allocations: 8 kB / 0.6078 GB, free: 8.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5188, allocations: 342.8 kB / 0.6081 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.5191, allocations: 99.94 kB / 0.6082 GB, free: 8.059 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.5195, allocations: 225.1 kB / 0.6084 GB, free: 7.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.5201, allocations: 317.5 kB / 0.6087 GB, free: 7.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5201, allocations: 0 / 0.6087 GB, free: 7.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007949/0.5209, allocations: 362.5 kB / 0.6091 GB, free: 7.066 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.521, allocations: 10.66 kB / 0.6091 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.521, allocations: 4 kB / 0.6091 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.521, allocations: 11.92 kB / 0.6091 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.5213, allocations: 75.89 kB / 0.6092 GB, free: 6.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5213, allocations: 4 kB / 0.6092 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.5216, allocations: 55.77 kB / 0.6092 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.5216, allocations: 15.98 kB / 0.6092 GB, free: 6.895 MB / 426.7 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_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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.5218, allocations: 153.8 kB / 0.6094 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.5219, allocations: 27.62 kB / 0.6094 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.5233, allocations: 1.152 MB / 0.6105 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.5233, allocations: 15.97 kB / 0.6105 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.5234, allocations: 3.938 kB / 0.6105 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.5234, allocations: 0 / 0.6105 GB, free: 5.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.524, allocations: 0.6716 MB / 0.6112 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5241, allocations: 0 / 0.6112 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.5243, allocations: 55.95 kB / 0.6113 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5243, allocations: 4 kB / 0.6113 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.5243, allocations: 7.938 kB / 0.6113 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.5243, allocations: 0 / 0.6113 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5243, allocations: 3.938 kB / 0.6113 GB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.5252, allocations: 0.6426 MB / 0.6119 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.5253, allocations: 195.9 kB / 0.6121 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.5254, allocations: 11.92 kB / 0.6121 GB, free: 3.852 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.5256, allocations: 27.92 kB / 0.6121 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.5257, allocations: 23.97 kB / 0.6121 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.5258, allocations: 7.984 kB / 0.6122 GB, free: 3.793 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003591/0.5261, allocations: 334.9 kB / 0.6125 GB, free: 3.465 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5261, allocations: 0 / 0.6125 GB, free: 3.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002561/0.5287, allocations: 0.8472 MB / 0.6133 GB, free: 2.617 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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 (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00358/0.5323, allocations: 1.017 MB / 0.6143 GB, free: 1.602 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.5332, allocations: 369.2 kB / 0.6146 GB, free: 1.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5332, allocations: 7.938 kB / 0.6147 GB, free: 1.234 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.5336, allocations: 264.5 kB / 0.6149 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/0.5345, allocations: 187.9 kB / 0.6151 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.5361, allocations: 1.289 MB / 0.6163 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.5366, allocations: 0.8799 MB / 0.6172 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.5366, allocations: 35.42 kB / 0.6172 GB, free: 14.54 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5367, allocations: 0 / 0.6172 GB, free: 14.54 MB / 442.7 MB Notification: Performance of Templates: time 0.03061/0.5673, allocations: 20.49 MB / 0.6373 GB, free: 10.05 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches