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.001259/0.001259, allocations: 117.6 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.00133/0.00133, allocations: 199.9 kB / 18.74 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.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 79.88 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5134/0.5151, 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.03508/0.5502, allocations: 30.22 MB / 0.5605 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02148/0.5718, allocations: 17.63 MB / 0.5777 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006086/0.5724, allocations: 11.94 kB / 0.5777 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008467/0.5733, allocations: 218.5 kB / 0.5779 GB, free: 1.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006948/0.574, allocations: 274.4 kB / 0.5782 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02167/0.5957, allocations: 6.046 MB / 0.5841 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5972, allocations: 0.8342 MB / 0.5849 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.5977, allocations: 236.8 kB / 0.5852 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01252/0.6102, allocations: 5.458 MB / 0.5905 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.6108, allocations: 243 kB / 0.5907 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.6109, allocations: 28 kB / 0.5907 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01379/0.6247, allocations: 6.33 MB / 0.5969 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.6249, allocations: 99.59 kB / 0.597 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.6253, allocations: 183.2 kB / 0.5972 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.6376, allocations: 3.862 MB / 0.601 GB, free: 9.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.984e-06/0.6376, allocations: 4 kB / 0.601 GB, free: 9.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6376, allocations: 3.938 kB / 0.601 GB, free: 9.812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.6377, allocations: 0 / 0.601 GB, free: 9.812 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.003451/0.6411, allocations: 1.08 MB / 0.602 GB, free: 8.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.6412, allocations: 12.03 kB / 0.602 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.6429, allocations: 204.5 kB / 0.6022 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.6436, allocations: 350.7 kB / 0.6026 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.6436, allocations: 28.94 kB / 0.6026 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.6437, allocations: 24.38 kB / 0.6026 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.645, allocations: 486.8 kB / 0.6031 GB, free: 7.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6451, allocations: 4 kB / 0.6031 GB, free: 7.516 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.6451, allocations: 15.94 kB / 0.6031 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.6451, allocations: 7.984 kB / 0.6031 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6464, allocations: 409.3 kB / 0.6035 GB, free: 7.094 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.6499, allocations: 2.427 MB / 0.6059 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.651, allocations: 330.2 kB / 0.6062 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.6513, allocations: 108.7 kB / 0.6063 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03636/0.6877, allocations: 18.38 MB / 0.6242 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.6878, allocations: 34.5 kB / 0.6243 GB, free: 15.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.245e-06/0.6878, allocations: 0 / 0.6243 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002216/0.69, allocations: 0.5306 MB / 0.6248 GB, free: 14.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.6901, allocations: 110.8 kB / 0.6249 GB, free: 14.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.6906, allocations: 320.5 kB / 0.6252 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.6907, allocations: 25.7 kB / 0.6252 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.691, allocations: 216 kB / 0.6254 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/0.691, allocations: 55.58 kB / 0.6255 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.6911, allocations: 65.64 kB / 0.6255 GB, free: 13.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.6913, allocations: 338.8 kB / 0.6259 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.6916, allocations: 91.92 kB / 0.626 GB, free: 13.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.6921, allocations: 215.4 kB / 0.6262 GB, free: 13.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.6927, allocations: 294.7 kB / 0.6264 GB, free: 12.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6927, allocations: 0 / 0.6264 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008415/0.6936, allocations: 341 kB / 0.6268 GB, free: 12.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.6936, allocations: 8 kB / 0.6268 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.6936, allocations: 4 kB / 0.6268 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.6937, allocations: 8.406 kB / 0.6268 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.694, allocations: 75.83 kB / 0.6269 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.694, allocations: 11.98 kB / 0.6269 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/0.6944, allocations: 39.77 kB / 0.6269 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.6944, allocations: 12 kB / 0.6269 GB, free: 12.33 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.000259/0.6947, allocations: 161.7 kB / 0.6271 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.6948, allocations: 31.77 kB / 0.6271 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/0.6967, allocations: 1.117 MB / 0.6282 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.6967, allocations: 11.98 kB / 0.6282 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.6967, allocations: 7.938 kB / 0.6282 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6967, allocations: 0 / 0.6282 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009242/0.6977, allocations: 0.6718 MB / 0.6289 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.6977, allocations: 0 / 0.6289 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.6979, allocations: 47.94 kB / 0.6289 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.6979, allocations: 0 / 0.6289 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.698, allocations: 7.938 kB / 0.6289 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.698, allocations: 4 kB / 0.6289 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.698, allocations: 0 / 0.6289 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.699, allocations: 0.6274 MB / 0.6295 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.6992, allocations: 124.7 kB / 0.6297 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6993, allocations: 31.72 kB / 0.6297 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.6995, allocations: 19.97 kB / 0.6297 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6996, allocations: 23.97 kB / 0.6297 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.6997, allocations: 8 kB / 0.6297 GB, free: 9.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004547/0.7001, allocations: 338.9 kB / 0.6301 GB, free: 9.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7001, allocations: 0 / 0.6301 GB, free: 9.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003294/0.7034, allocations: 0.8577 MB / 0.6309 GB, free: 8.145 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.0053/0.7088, allocations: 1.016 MB / 0.6319 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009789/0.7098, allocations: 352.2 kB / 0.6322 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7098, allocations: 0 / 0.6322 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.7102, allocations: 253.4 kB / 0.6325 GB, free: 6.539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.7114, allocations: 206.5 kB / 0.6327 GB, free: 6.344 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.7134, allocations: 1.035 MB / 0.6337 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.7139, allocations: 0.8798 MB / 0.6345 GB, free: 4.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004264/0.7144, allocations: 179 kB / 0.6347 GB, free: 4.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.801e-05/0.7145, allocations: 31.44 kB / 0.6347 GB, free: 4.164 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.7145, allocations: 4 kB / 0.6347 GB, free: 4.16 MB / 494.1 MB Notification: Performance of Templates: time 0.05254/0.767, allocations: 34.65 MB / 0.6686 GB, free: 1.535 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