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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_trunk_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_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001648/0.001648, allocations: 119.6 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 206.7 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.12 MB / 345 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003028/0.003028, allocations: 87.84 kB / 482.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3774, allocations: 62.43 MB / 0.5317 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03571/0.4131, allocations: 30.27 MB / 0.5613 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0224/0.4355, allocations: 17.69 MB / 0.5786 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/0.4359, allocations: 7.938 kB / 0.5786 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.4366, allocations: 218.6 kB / 0.5788 GB, free: 1.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006303/0.4372, allocations: 282.4 kB / 0.579 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01752/0.4547, allocations: 6.054 MB / 0.585 GB, free: 11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.456, allocations: 0.8381 MB / 0.5858 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.4564, allocations: 204.9 kB / 0.586 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01147/0.4678, allocations: 5.474 MB / 0.5913 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.4683, allocations: 250.9 kB / 0.5916 GB, free: 4.156 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.384e-05/0.4684, allocations: 28 kB / 0.5916 GB, free: 4.129 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01232/0.4807, allocations: 6.334 MB / 0.5978 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.4809, allocations: 87.69 kB / 0.5979 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.4812, allocations: 195.1 kB / 0.598 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009507/0.4907, allocations: 3.858 MB / 0.6018 GB, free: 9.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4907, allocations: 7.938 kB / 0.6018 GB, free: 9.633 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4907, allocations: 0 / 0.6018 GB, free: 9.633 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.4907, allocations: 4 kB / 0.6018 GB, free: 9.629 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.002676/0.4934, allocations: 1.073 MB / 0.6029 GB, free: 8.504 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4935, allocations: 8.031 kB / 0.6029 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/0.4952, allocations: 204.5 kB / 0.6031 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.4958, allocations: 354.7 kB / 0.6034 GB, free: 7.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.4959, allocations: 24.88 kB / 0.6034 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.4959, allocations: 24.38 kB / 0.6035 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4972, allocations: 494.8 kB / 0.6039 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4973, allocations: 3.938 kB / 0.6039 GB, free: 7.336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.4973, allocations: 12 kB / 0.6039 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4973, allocations: 12 kB / 0.604 GB, free: 7.312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.4986, allocations: 413.2 kB / 0.6043 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003418/0.502, allocations: 2.415 MB / 0.6067 GB, free: 4.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.5033, allocations: 322.3 kB / 0.607 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.5036, allocations: 104.8 kB / 0.6071 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03852/0.5421, allocations: 18.37 MB / 0.6251 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.219e-05/0.5422, allocations: 42.55 kB / 0.6251 GB, free: 15.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.926e-06/0.5422, allocations: 0 / 0.6251 GB, free: 15.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002362/0.5445, allocations: 0.5313 MB / 0.6256 GB, free: 14.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.5447, allocations: 106.8 kB / 0.6257 GB, free: 14.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.5451, allocations: 324.5 kB / 0.626 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.5452, allocations: 25.7 kB / 0.626 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.5454, allocations: 212 kB / 0.6262 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.5454, allocations: 59.52 kB / 0.6263 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.5456, allocations: 65.66 kB / 0.6264 GB, free: 13.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.5458, allocations: 342.8 kB / 0.6267 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.546, allocations: 83.94 kB / 0.6268 GB, free: 13.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.5465, allocations: 215.3 kB / 0.627 GB, free: 13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.5472, allocations: 297.5 kB / 0.6273 GB, free: 12.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5472, allocations: 0 / 0.6273 GB, free: 12.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008224/0.548, allocations: 340.9 kB / 0.6276 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.548, allocations: 11.98 kB / 0.6276 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.548, allocations: 4 kB / 0.6276 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-05/0.5481, allocations: 7.938 kB / 0.6276 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.5484, allocations: 68.36 kB / 0.6277 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.5484, allocations: 8 kB / 0.6277 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.5486, allocations: 39.77 kB / 0.6277 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5487, allocations: 16 kB / 0.6277 GB, free: 12.17 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.0001813/0.5488, allocations: 157.7 kB / 0.6279 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.5489, allocations: 31.77 kB / 0.6279 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.5505, allocations: 1.114 MB / 0.629 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.5505, allocations: 11.98 kB / 0.629 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.5505, allocations: 3.984 kB / 0.629 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5505, allocations: 0 / 0.629 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007972/0.5513, allocations: 0.668 MB / 0.6297 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5513, allocations: 4 kB / 0.6297 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.5516, allocations: 47.95 kB / 0.6297 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5516, allocations: 0 / 0.6297 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.5516, allocations: 11.88 kB / 0.6297 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5516, allocations: 0 / 0.6297 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5516, allocations: 0 / 0.6297 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009433/0.5525, allocations: 0.6295 MB / 0.6303 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.5527, allocations: 136.6 kB / 0.6305 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.5527, allocations: 27.72 kB / 0.6305 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.5529, allocations: 15.98 kB / 0.6305 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.553, allocations: 23.97 kB / 0.6305 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.553, allocations: 8 kB / 0.6306 GB, free: 9.184 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004148/0.5535, allocations: 346.8 kB / 0.6309 GB, free: 8.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5535, allocations: 0 / 0.6309 GB, free: 8.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002678/0.5561, allocations: 0.8616 MB / 0.6317 GB, free: 7.98 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.00377/0.5599, allocations: 1.017 MB / 0.6327 GB, free: 6.961 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009126/0.5608, allocations: 337.1 kB / 0.633 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5608, allocations: 0 / 0.633 GB, free: 6.633 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.5612, allocations: 208.5 kB / 0.6332 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.5622, allocations: 190.8 kB / 0.6334 GB, free: 6.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5639, allocations: 1.045 MB / 0.6344 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.5644, allocations: 0.8797 MB / 0.6353 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000376/0.5648, allocations: 179 kB / 0.6355 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.273e-05/0.5649, allocations: 35.42 kB / 0.6355 GB, free: 4.059 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5649, allocations: 0 / 0.6355 GB, free: 4.059 MB / 494.1 MB Notification: Performance of Templates: time 0.05428/0.6192, allocations: 34.69 MB / 0.6694 GB, free: 1.391 MB / 0.5138 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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