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.001461/0.00146, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.6 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.2407/0.2407, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 75.88 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3878, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03472/0.4226, allocations: 30.22 MB / 0.5612 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02538/0.448, allocations: 17.63 MB / 0.5784 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006095/0.4487, allocations: 7.938 kB / 0.5784 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008553/0.4496, allocations: 222.5 kB / 0.5786 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007287/0.4504, allocations: 282.4 kB / 0.5789 GB, free: 1.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01916/0.4696, allocations: 6.06 MB / 0.5848 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.4709, allocations: 0.8342 MB / 0.5856 GB, free: 10.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.4713, allocations: 244.7 kB / 0.5858 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01334/0.4847, allocations: 5.462 MB / 0.5912 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005272/0.4853, allocations: 239 kB / 0.5914 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.4854, allocations: 32 kB / 0.5914 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01314/0.4985, allocations: 6.33 MB / 0.5976 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.4988, allocations: 91.67 kB / 0.5977 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.4992, allocations: 199.1 kB / 0.5979 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.5102, allocations: 3.852 MB / 0.6017 GB, free: 9.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5103, allocations: 0 / 0.6017 GB, free: 9.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5103, allocations: 4 kB / 0.6017 GB, free: 9.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5103, allocations: 0 / 0.6017 GB, free: 9.816 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.003311/0.5136, allocations: 1.049 MB / 0.6027 GB, free: 8.719 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.5137, allocations: 12.03 kB / 0.6027 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.5157, allocations: 204.3 kB / 0.6029 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.5165, allocations: 346.5 kB / 0.6032 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.5166, allocations: 28.94 kB / 0.6032 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.5166, allocations: 32.38 kB / 0.6033 GB, free: 8.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.5181, allocations: 486.8 kB / 0.6037 GB, free: 7.555 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5181, allocations: 4 kB / 0.6037 GB, free: 7.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.5182, allocations: 12 kB / 0.6038 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5182, allocations: 4 kB / 0.6038 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.5195, allocations: 417.2 kB / 0.6042 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004096/0.5236, allocations: 2.415 MB / 0.6065 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.525, allocations: 330.2 kB / 0.6068 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.5253, allocations: 108.8 kB / 0.6069 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03326/0.5586, allocations: 18.38 MB / 0.6249 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.5587, allocations: 38.56 kB / 0.6249 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.5587, allocations: 0 / 0.6249 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002109/0.5608, allocations: 0.5192 MB / 0.6254 GB, free: 14.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.5609, allocations: 106.8 kB / 0.6255 GB, free: 14.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.5614, allocations: 324.4 kB / 0.6258 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.5614, allocations: 29.7 kB / 0.6259 GB, free: 14.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.5616, allocations: 211.5 kB / 0.6261 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.5616, allocations: 51.34 kB / 0.6261 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.5618, allocations: 69.59 kB / 0.6262 GB, free: 13.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5619, allocations: 338.8 kB / 0.6265 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.5622, allocations: 91.92 kB / 0.6266 GB, free: 13.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.5626, allocations: 211.4 kB / 0.6268 GB, free: 13.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.5631, allocations: 300 kB / 0.6271 GB, free: 12.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5632, allocations: 0 / 0.6271 GB, free: 12.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007928/0.564, allocations: 336.8 kB / 0.6274 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.564, allocations: 10.03 kB / 0.6274 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.564, allocations: 4 kB / 0.6274 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.564, allocations: 7.938 kB / 0.6274 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.5643, allocations: 72.36 kB / 0.6275 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.5643, allocations: 11.94 kB / 0.6275 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.5646, allocations: 47.59 kB / 0.6275 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.5647, allocations: 20 kB / 0.6276 GB, free: 12.38 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.000183/0.5648, allocations: 153.7 kB / 0.6277 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.5649, allocations: 31.62 kB / 0.6277 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.5664, allocations: 1.105 MB / 0.6288 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.5664, allocations: 15.97 kB / 0.6288 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5664, allocations: 0 / 0.6288 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5664, allocations: 0 / 0.6288 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007698/0.5672, allocations: 0.6677 MB / 0.6295 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.5672, allocations: 4 kB / 0.6295 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.5674, allocations: 51.89 kB / 0.6295 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.5674, allocations: 0 / 0.6295 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.5675, allocations: 7.922 kB / 0.6295 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5675, allocations: 4 kB / 0.6296 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5675, allocations: 3.984 kB / 0.6296 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008919/0.5684, allocations: 0.6192 MB / 0.6302 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.5685, allocations: 120.4 kB / 0.6303 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.5686, allocations: 31.62 kB / 0.6303 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.5688, allocations: 15.98 kB / 0.6303 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.989e-05/0.5689, allocations: 31.91 kB / 0.6303 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.5689, allocations: 7.984 kB / 0.6304 GB, free: 9.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003655/0.5693, allocations: 338.9 kB / 0.6307 GB, free: 9.074 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5693, allocations: 0 / 0.6307 GB, free: 9.074 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002651/0.5719, allocations: 0.8549 MB / 0.6315 GB, free: 8.219 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.004418/0.5764, allocations: 1.008 MB / 0.6325 GB, free: 7.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007705/0.5772, allocations: 352.5 kB / 0.6328 GB, free: 6.867 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5772, allocations: 4 kB / 0.6328 GB, free: 6.863 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.5775, allocations: 248.5 kB / 0.6331 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.5785, allocations: 200.8 kB / 0.6333 GB, free: 6.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.5801, allocations: 1.052 MB / 0.6343 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.5806, allocations: 0.8758 MB / 0.6352 GB, free: 4.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/0.5807, allocations: 39.44 kB / 0.6352 GB, free: 4.402 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5807, allocations: 0 / 0.6352 GB, free: 4.402 MB / 494.1 MB Notification: Performance of Templates: time 0.03477/0.6154, allocations: 20.56 MB / 0.6553 GB, free: 15.86 MB / 0.5137 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 -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