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.001539/0.001539, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001683/0.001684, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 71.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3335, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03115/0.3647, allocations: 30.23 MB / 0.56 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.3835, allocations: 17.63 MB / 0.5772 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.384, allocations: 11.94 kB / 0.5772 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006828/0.3847, allocations: 218.6 kB / 0.5775 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005709/0.3853, allocations: 270.3 kB / 0.5777 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01592/0.4012, allocations: 6.056 MB / 0.5836 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001074/0.4023, allocations: 0.8342 MB / 0.5844 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.4027, allocations: 248.7 kB / 0.5847 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01006/0.4127, allocations: 5.454 MB / 0.59 GB, free: 4.625 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.4131, allocations: 243 kB / 0.5902 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.4132, allocations: 36 kB / 0.5903 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.4246, allocations: 6.33 MB / 0.5965 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.4248, allocations: 95.66 kB / 0.5965 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.4251, allocations: 191.1 kB / 0.5967 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008861/0.434, allocations: 3.859 MB / 0.6005 GB, free: 9.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.434, allocations: 0 / 0.6005 GB, free: 9.863 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.434, allocations: 4 kB / 0.6005 GB, free: 9.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.434, allocations: 0 / 0.6005 GB, free: 9.859 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.00259/0.4366, allocations: 1.041 MB / 0.6015 GB, free: 8.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.4367, allocations: 8.031 kB / 0.6015 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.699e-05/0.4368, allocations: 66.66 kB / 0.6016 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00163/0.4384, allocations: 204.3 kB / 0.6018 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.439, allocations: 342.5 kB / 0.6021 GB, free: 8.113 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.4391, allocations: 24.94 kB / 0.6021 GB, free: 8.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.4391, allocations: 32.12 kB / 0.6022 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.4403, allocations: 490.8 kB / 0.6026 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4403, allocations: 0 / 0.6026 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.4404, allocations: 12 kB / 0.6026 GB, free: 7.527 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.4404, allocations: 8 kB / 0.6027 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.4416, allocations: 413.2 kB / 0.603 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.4446, allocations: 2.415 MB / 0.6054 GB, free: 4.488 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.4458, allocations: 330.2 kB / 0.6057 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.4461, allocations: 108.8 kB / 0.6058 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03495/0.481, allocations: 18.38 MB / 0.6238 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.4811, allocations: 38.5 kB / 0.6238 GB, free: 15.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 3.346e-06/0.4811, allocations: 0 / 0.6238 GB, free: 15.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002284/0.4834, allocations: 0.5237 MB / 0.6243 GB, free: 14.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.4835, allocations: 106.8 kB / 0.6244 GB, free: 14.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.4839, allocations: 320.5 kB / 0.6247 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.484, allocations: 33.7 kB / 0.6248 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.4841, allocations: 207.6 kB / 0.625 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.4842, allocations: 47.36 kB / 0.625 GB, free: 13.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.4843, allocations: 69.59 kB / 0.6251 GB, free: 13.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4844, allocations: 338.8 kB / 0.6254 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.4847, allocations: 95.92 kB / 0.6255 GB, free: 13.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.4851, allocations: 207.3 kB / 0.6257 GB, free: 13.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.4857, allocations: 301.4 kB / 0.626 GB, free: 12.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.4857, allocations: 0 / 0.626 GB, free: 12.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008146/0.4865, allocations: 340.8 kB / 0.6263 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4866, allocations: 7.938 kB / 0.6263 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.4866, allocations: 7.938 kB / 0.6263 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.4866, allocations: 8 kB / 0.6263 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.4869, allocations: 72.36 kB / 0.6264 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4869, allocations: 4 kB / 0.6264 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.4872, allocations: 47.66 kB / 0.6264 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.4872, allocations: 15.94 kB / 0.6265 GB, free: 12.36 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.0001635/0.4874, allocations: 161.6 kB / 0.6266 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.4875, allocations: 31.62 kB / 0.6266 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.489, allocations: 1.101 MB / 0.6277 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.4891, allocations: 15.97 kB / 0.6277 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4891, allocations: 0 / 0.6277 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4891, allocations: 4 kB / 0.6277 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000711/0.4898, allocations: 0.6677 MB / 0.6284 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4898, allocations: 0 / 0.6284 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.49, allocations: 47.89 kB / 0.6284 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4901, allocations: 7.984 kB / 0.6284 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.4901, allocations: 7.938 kB / 0.6284 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4901, allocations: 0 / 0.6284 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4901, allocations: 3.984 kB / 0.6284 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/0.491, allocations: 0.6192 MB / 0.6291 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.4912, allocations: 124.4 kB / 0.6292 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.4913, allocations: 31.62 kB / 0.6292 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4915, allocations: 23.97 kB / 0.6292 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.4916, allocations: 11.98 kB / 0.6292 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.4916, allocations: 15.98 kB / 0.6293 GB, free: 9.387 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.4919, allocations: 342.9 kB / 0.6296 GB, free: 9.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.492, allocations: 0 / 0.6296 GB, free: 9.051 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002381/0.4943, allocations: 0.851 MB / 0.6304 GB, free: 8.199 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.005943/0.5003, allocations: 2.075 MB / 0.6324 GB, free: 6.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008024/0.5011, allocations: 353.1 kB / 0.6328 GB, free: 5.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5011, allocations: 0 / 0.6328 GB, free: 5.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.5015, allocations: 256.5 kB / 0.633 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5025, allocations: 191.9 kB / 0.6332 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.5093, allocations: 4.273 MB / 0.6374 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.5097, allocations: 0.8759 MB / 0.6382 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003598/0.5101, allocations: 179 kB / 0.6384 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.5103, allocations: 191.4 kB / 0.6386 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5104, allocations: 0 / 0.6386 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07304/0.5834, allocations: 40.67 MB / 0.6783 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.77, allocations: 16.25 kB / 0.6783 GB, free: 7.09 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