Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001172/0.001172, allocations: 187.8 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.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.1984/0.1984, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 59.89 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3513, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03095/0.3823, allocations: 30.07 MB / 0.5478 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01921/0.4016, allocations: 17.6 MB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.402, allocations: 15.88 kB / 0.565 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.4026, allocations: 210.6 kB / 0.5652 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005673/0.4032, allocations: 274.4 kB / 0.5655 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01564/0.4189, allocations: 6.038 MB / 0.5714 GB, free: 5.793 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.42, allocations: 0.8304 MB / 0.5722 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003486/0.4204, allocations: 240.7 kB / 0.5724 GB, free: 4.723 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.4324, allocations: 5.458 MB / 0.5777 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.4328, allocations: 243 kB / 0.578 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.4329, allocations: 28 kB / 0.578 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.4457, allocations: 6.318 MB / 0.5841 GB, free: 8.594 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.4459, allocations: 91.67 kB / 0.5842 GB, free: 8.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002911/0.4462, allocations: 191.1 kB / 0.5844 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.4538, allocations: 3.832 MB / 0.5882 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4538, allocations: 0 / 0.5882 GB, free: 4.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4538, allocations: 3.938 kB / 0.5882 GB, free: 4.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4538, allocations: 0 / 0.5882 GB, free: 4.473 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002386/0.4562, allocations: 1.045 MB / 0.5892 GB, free: 3.379 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4562, allocations: 12.03 kB / 0.5892 GB, free: 3.367 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.4563, allocations: 66.72 kB / 0.5893 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.4579, allocations: 188.3 kB / 0.5894 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.4585, allocations: 346.6 kB / 0.5898 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.4586, allocations: 24.94 kB / 0.5898 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.4586, allocations: 28.12 kB / 0.5898 GB, free: 2.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.4598, allocations: 486.9 kB / 0.5903 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4598, allocations: 3.938 kB / 0.5903 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.4599, allocations: 16 kB / 0.5903 GB, free: 2.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4599, allocations: 11.98 kB / 0.5903 GB, free: 2.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4611, allocations: 401.3 kB / 0.5907 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.464, allocations: 2.426 MB / 0.5931 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.4651, allocations: 330.3 kB / 0.5934 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.4654, allocations: 112.8 kB / 0.5935 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03055/0.496, allocations: 16.53 MB / 0.6096 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.496, allocations: 34.56 kB / 0.6097 GB, free: 12.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 3.647e-06/0.496, allocations: 0 / 0.6097 GB, free: 12.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002031/0.4981, allocations: 0.535 MB / 0.6102 GB, free: 11.54 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.4982, allocations: 106.8 kB / 0.6103 GB, free: 11.41 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.4986, allocations: 320.5 kB / 0.6106 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.4986, allocations: 29.7 kB / 0.6106 GB, free: 11.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.4988, allocations: 211.5 kB / 0.6108 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.4988, allocations: 43.36 kB / 0.6109 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.4989, allocations: 61.69 kB / 0.6109 GB, free: 10.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.499, allocations: 338.8 kB / 0.6113 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.4993, allocations: 95.92 kB / 0.6113 GB, free: 10.29 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.4997, allocations: 215.2 kB / 0.6115 GB, free: 10.03 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.5002, allocations: 289.5 kB / 0.6118 GB, free: 9.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5003, allocations: 0 / 0.6118 GB, free: 9.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007639/0.501, allocations: 336.9 kB / 0.6121 GB, free: 9.359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5011, allocations: 4.469 kB / 0.6121 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5011, allocations: 15.88 kB / 0.6122 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5011, allocations: 11.94 kB / 0.6122 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.5014, allocations: 71.89 kB / 0.6122 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5014, allocations: 11.98 kB / 0.6123 GB, free: 9.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.5016, allocations: 47.56 kB / 0.6123 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.5017, allocations: 16 kB / 0.6123 GB, free: 9.184 MB / 478.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 (30): * Single equations (assignments): 30 * 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.000161/0.5018, allocations: 157.7 kB / 0.6125 GB, free: 9.02 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.5019, allocations: 31.62 kB / 0.6125 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.5033, allocations: 1.097 MB / 0.6136 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.5033, allocations: 15.97 kB / 0.6136 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5033, allocations: 0 / 0.6136 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.5033, allocations: 0 / 0.6136 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006489/0.504, allocations: 0.6754 MB / 0.6142 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.504, allocations: 0 / 0.6142 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.5042, allocations: 43.95 kB / 0.6143 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.5042, allocations: 7.984 kB / 0.6143 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5042, allocations: 7.938 kB / 0.6143 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5043, allocations: 4 kB / 0.6143 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5043, allocations: 0 / 0.6143 GB, free: 7.082 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/0.5051, allocations: 0.622 MB / 0.6149 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.5052, allocations: 120.4 kB / 0.615 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.5053, allocations: 39.53 kB / 0.6151 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.5055, allocations: 19.97 kB / 0.6151 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.5056, allocations: 19.94 kB / 0.6151 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.5056, allocations: 7.984 kB / 0.6151 GB, free: 6.219 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003688/0.506, allocations: 342.9 kB / 0.6154 GB, free: 5.883 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.506, allocations: 0 / 0.6154 GB, free: 5.883 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002303/0.5083, allocations: 0.8394 MB / 0.6163 GB, free: 5.043 MB / 478.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: 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 (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.004887/0.5132, allocations: 2.076 MB / 0.6183 GB, free: 2.953 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007484/0.514, allocations: 352.2 kB / 0.6186 GB, free: 2.609 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.514, allocations: 0 / 0.6186 GB, free: 2.609 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.5143, allocations: 257.4 kB / 0.6189 GB, free: 2.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009455/0.5153, allocations: 187.2 kB / 0.619 GB, free: 2.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006485/0.5218, allocations: 4.243 MB / 0.6232 GB, free: 13.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.5222, allocations: 0.8873 MB / 0.6241 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.5227, allocations: 200.4 kB / 0.6242 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.5229, allocations: 187.4 kB / 0.6244 GB, free: 12.47 MB / 494.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5229, allocations: 0 / 0.6244 GB, free: 12.47 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08601/0.609, allocations: 40.56 MB / 0.664 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.881/10.49, allocations: 18.53 kB / 0.664 GB, free: 4.062 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches