Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001596/0.001596, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 79.86 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2945, allocations: 62.43 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03343/0.328, allocations: 30.23 MB / 0.5601 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.35, allocations: 17.63 MB / 0.5774 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.3504, allocations: 7.938 kB / 0.5774 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000684/0.3512, allocations: 218.6 kB / 0.5776 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.3519, allocations: 274.4 kB / 0.5778 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01627/0.3681, allocations: 6.055 MB / 0.5837 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.3695, allocations: 0.8381 MB / 0.5846 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/0.3699, allocations: 236.7 kB / 0.5848 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.013/0.3829, allocations: 5.458 MB / 0.5901 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.3834, allocations: 246.9 kB / 0.5904 GB, free: 4.297 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.3835, allocations: 28 kB / 0.5904 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/0.3957, allocations: 6.326 MB / 0.5966 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.3959, allocations: 87.73 kB / 0.5966 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.3962, allocations: 191.1 kB / 0.5968 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007908/0.4041, allocations: 3.866 MB / 0.6006 GB, free: 9.785 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4041, allocations: 0 / 0.6006 GB, free: 9.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4041, allocations: 4 kB / 0.6006 GB, free: 9.781 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4041, allocations: 0 / 0.6006 GB, free: 9.781 MB / 462.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.002326/0.4065, allocations: 1.073 MB / 0.6017 GB, free: 8.656 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4065, allocations: 16.02 kB / 0.6017 GB, free: 8.641 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.7e-05/0.4066, allocations: 58.73 kB / 0.6017 GB, free: 8.574 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.4083, allocations: 208.5 kB / 0.6019 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.4089, allocations: 350.7 kB / 0.6023 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.4089, allocations: 24.94 kB / 0.6023 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.409, allocations: 28.12 kB / 0.6023 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.4103, allocations: 490.8 kB / 0.6028 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.4104, allocations: 7.922 kB / 0.6028 GB, free: 7.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.4104, allocations: 12 kB / 0.6028 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.4104, allocations: 8 kB / 0.6028 GB, free: 7.391 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.4118, allocations: 409.3 kB / 0.6032 GB, free: 6.992 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.4156, allocations: 2.419 MB / 0.6056 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.4169, allocations: 334.3 kB / 0.6059 GB, free: 4.023 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.4173, allocations: 108.8 kB / 0.606 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0367/0.454, allocations: 18.37 MB / 0.6239 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.454, allocations: 38.5 kB / 0.624 GB, free: 15.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.4541, allocations: 3.938 kB / 0.624 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002203/0.4563, allocations: 0.5294 MB / 0.6245 GB, free: 14.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.4564, allocations: 102.8 kB / 0.6246 GB, free: 14.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004173/0.4568, allocations: 324.4 kB / 0.6249 GB, free: 14.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4568, allocations: 29.7 kB / 0.6249 GB, free: 14.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.457, allocations: 212 kB / 0.6251 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.946e-05/0.4571, allocations: 51.58 kB / 0.6252 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.4572, allocations: 69.64 kB / 0.6252 GB, free: 13.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.4574, allocations: 342.8 kB / 0.6256 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.4577, allocations: 87.94 kB / 0.6256 GB, free: 13.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.4581, allocations: 219.3 kB / 0.6258 GB, free: 13.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006658/0.4588, allocations: 296.5 kB / 0.6261 GB, free: 12.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4588, allocations: 4 kB / 0.6261 GB, free: 12.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008536/0.4596, allocations: 337 kB / 0.6265 GB, free: 12.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4597, allocations: 8 kB / 0.6265 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.447e-05/0.4597, allocations: 7.938 kB / 0.6265 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.4598, allocations: 4.469 kB / 0.6265 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.4601, allocations: 79.88 kB / 0.6266 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4601, allocations: 4 kB / 0.6266 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.4604, allocations: 39.77 kB / 0.6266 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.4604, allocations: 16 kB / 0.6266 GB, free: 12.23 MB / 494.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.0001903/0.4606, allocations: 157.7 kB / 0.6268 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.4607, allocations: 35.77 kB / 0.6268 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.4623, allocations: 1.11 MB / 0.6279 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.4624, allocations: 11.98 kB / 0.6279 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4624, allocations: 8 kB / 0.6279 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.4624, allocations: 3.984 kB / 0.6279 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.4632, allocations: 0.6641 MB / 0.6285 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4632, allocations: 0 / 0.6285 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.4634, allocations: 51.89 kB / 0.6286 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4634, allocations: 0 / 0.6286 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.4635, allocations: 7.938 kB / 0.6286 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4635, allocations: 3.938 kB / 0.6286 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4635, allocations: 3.984 kB / 0.6286 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.4645, allocations: 0.6257 MB / 0.6292 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.4647, allocations: 136.6 kB / 0.6294 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.4647, allocations: 23.72 kB / 0.6294 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.465, allocations: 23.98 kB / 0.6294 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.465, allocations: 19.97 kB / 0.6294 GB, free: 9.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4651, allocations: 4 kB / 0.6294 GB, free: 9.242 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004274/0.4655, allocations: 350.8 kB / 0.6298 GB, free: 8.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4655, allocations: 3.938 kB / 0.6298 GB, free: 8.895 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002407/0.4679, allocations: 0.8538 MB / 0.6306 GB, free: 8.039 MB / 494.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.005712/0.4736, allocations: 2.078 MB / 0.6326 GB, free: 5.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.4747, allocations: 356.7 kB / 0.633 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4747, allocations: 0 / 0.633 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.4751, allocations: 260.5 kB / 0.6332 GB, free: 5.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4763, allocations: 197.2 kB / 0.6334 GB, free: 5.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007373/0.4837, allocations: 4.297 MB / 0.6376 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.4843, allocations: 0.8836 MB / 0.6385 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004485/0.4847, allocations: 183 kB / 0.6386 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/0.485, allocations: 191.4 kB / 0.6388 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.485, allocations: 0 / 0.6388 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07744/0.5625, allocations: 40.48 MB / 0.6784 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.41, allocations: 16.55 kB / 0.6784 GB, free: 7.062 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches