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.00152/0.00152, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001837, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2567/0.2567, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 71.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3851, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03644/0.4216, allocations: 30.22 MB / 0.5605 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02157/0.4433, allocations: 17.64 MB / 0.5777 GB, free: 1.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.4438, allocations: 7.938 kB / 0.5777 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007779/0.4446, allocations: 218.6 kB / 0.5779 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006567/0.4453, allocations: 274.4 kB / 0.5782 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01757/0.4629, allocations: 6.045 MB / 0.5841 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.464, allocations: 0.8343 MB / 0.5849 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.4644, allocations: 244.7 kB / 0.5852 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01035/0.4748, allocations: 5.462 MB / 0.5905 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.4752, allocations: 243 kB / 0.5907 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.4753, allocations: 28 kB / 0.5907 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/0.4867, allocations: 6.334 MB / 0.5969 GB, free: 13.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.4869, allocations: 87.73 kB / 0.597 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.4872, allocations: 191.1 kB / 0.5972 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007953/0.4951, allocations: 3.852 MB / 0.601 GB, free: 9.852 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.4952, allocations: 0 / 0.601 GB, free: 9.852 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4952, allocations: 7.938 kB / 0.601 GB, free: 9.844 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.4952, allocations: 3.938 kB / 0.601 GB, free: 9.84 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.002186/0.4974, allocations: 1.045 MB / 0.602 GB, free: 8.746 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4974, allocations: 8.031 kB / 0.602 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.499, allocations: 204.2 kB / 0.6022 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.4995, allocations: 350.5 kB / 0.6025 GB, free: 8.156 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.4996, allocations: 24.94 kB / 0.6026 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.4996, allocations: 24.38 kB / 0.6026 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5008, allocations: 494.8 kB / 0.603 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5009, allocations: 3.938 kB / 0.6031 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.5009, allocations: 15.98 kB / 0.6031 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.5009, allocations: 8 kB / 0.6031 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.5021, allocations: 405.3 kB / 0.6035 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.5052, allocations: 2.423 MB / 0.6058 GB, free: 4.527 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.5063, allocations: 322.3 kB / 0.6061 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.5066, allocations: 110.3 kB / 0.6062 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03505/0.5417, allocations: 18.38 MB / 0.6242 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.5418, allocations: 34.56 kB / 0.6242 GB, free: 15.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 4.438e-06/0.5418, allocations: 7.938 kB / 0.6242 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002131/0.5439, allocations: 0.5244 MB / 0.6247 GB, free: 14.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.544, allocations: 102.8 kB / 0.6248 GB, free: 14.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.5444, allocations: 328.4 kB / 0.6252 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.5444, allocations: 29.7 kB / 0.6252 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.5446, allocations: 203.6 kB / 0.6254 GB, free: 14.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.5446, allocations: 47.36 kB / 0.6254 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.5448, allocations: 69.59 kB / 0.6255 GB, free: 13.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5449, allocations: 342.8 kB / 0.6258 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.5452, allocations: 91.92 kB / 0.6259 GB, free: 13.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.5455, allocations: 207.3 kB / 0.6261 GB, free: 13.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.5461, allocations: 304.5 kB / 0.6264 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5461, allocations: 0 / 0.6264 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007522/0.5469, allocations: 340.8 kB / 0.6267 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.5469, allocations: 4 kB / 0.6267 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.547, allocations: 4 kB / 0.6267 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.547, allocations: 11.94 kB / 0.6267 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.5473, allocations: 67.89 kB / 0.6268 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.5473, allocations: 7.984 kB / 0.6268 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.5475, allocations: 48.08 kB / 0.6269 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.5476, allocations: 11.94 kB / 0.6269 GB, free: 12.42 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.0001658/0.5477, allocations: 165.6 kB / 0.627 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.5478, allocations: 31.62 kB / 0.6271 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.5492, allocations: 1.109 MB / 0.6281 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.5493, allocations: 11.98 kB / 0.6281 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5493, allocations: 0 / 0.6281 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5493, allocations: 0 / 0.6281 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006535/0.5499, allocations: 0.6677 MB / 0.6288 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.55, allocations: 0 / 0.6288 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.5502, allocations: 51.94 kB / 0.6288 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5502, allocations: 4 kB / 0.6289 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.5502, allocations: 7.938 kB / 0.6289 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5502, allocations: 0 / 0.6289 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5502, allocations: 0 / 0.6289 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000878/0.5511, allocations: 0.6309 MB / 0.6295 GB, free: 9.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.5512, allocations: 120.4 kB / 0.6296 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.5513, allocations: 31.62 kB / 0.6296 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.5515, allocations: 15.97 kB / 0.6296 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.5516, allocations: 19.97 kB / 0.6297 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.5516, allocations: 8 kB / 0.6297 GB, free: 9.441 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003468/0.552, allocations: 346.9 kB / 0.63 GB, free: 9.102 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.552, allocations: 0 / 0.63 GB, free: 9.102 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002577/0.5546, allocations: 0.851 MB / 0.6308 GB, free: 8.25 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.00342/0.558, allocations: 1.013 MB / 0.6318 GB, free: 7.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.5588, allocations: 349.2 kB / 0.6321 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5588, allocations: 0 / 0.6321 GB, free: 6.898 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.5592, allocations: 256.5 kB / 0.6324 GB, free: 6.648 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009969/0.5602, allocations: 192.4 kB / 0.6326 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.5617, allocations: 1.023 MB / 0.6336 GB, free: 5.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.5621, allocations: 0.8836 MB / 0.6344 GB, free: 4.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.5625, allocations: 183 kB / 0.6346 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.5626, allocations: 31.44 kB / 0.6346 GB, free: 4.289 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5626, allocations: 0 / 0.6346 GB, free: 4.289 MB / 494.1 MB Notification: Performance of Templates: time 0.04578/0.6084, allocations: 34.77 MB / 0.6686 GB, free: 1.551 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches