Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 204.2 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2335/0.2335, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3916, allocations: 66.04 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0325/0.4241, allocations: 27.72 MB / 0.5877 GB, free: 8.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02035/0.4444, allocations: 15.68 MB / 0.603 GB, free: 8.684 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.4448, allocations: 15.88 kB / 0.603 GB, free: 8.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.4455, allocations: 202.7 kB / 0.6032 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006345/0.4461, allocations: 282.3 kB / 0.6034 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01584/0.4619, allocations: 5.999 MB / 0.6093 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.4632, allocations: 0.8537 MB / 0.6101 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.4635, allocations: 204.9 kB / 0.6103 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/0.4763, allocations: 5.478 MB / 0.6157 GB, free: 11.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005424/0.4768, allocations: 251 kB / 0.6159 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.176e-05/0.4769, allocations: 36 kB / 0.616 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.4883, allocations: 6.295 MB / 0.6221 GB, free: 4.992 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.4885, allocations: 91.67 kB / 0.6222 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.4888, allocations: 167.3 kB / 0.6223 GB, free: 4.738 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008501/0.4973, allocations: 3.851 MB / 0.6261 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4973, allocations: 0 / 0.6261 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4973, allocations: 0 / 0.6261 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.4973, allocations: 8 kB / 0.6261 GB, free: 0.8711 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.002543/0.4998, allocations: 0.9934 MB / 0.6271 GB, free: 15.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4999, allocations: 16.02 kB / 0.6271 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.694e-05/0.5, allocations: 58.73 kB / 0.6272 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.5015, allocations: 212.5 kB / 0.6274 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/0.5021, allocations: 280.9 kB / 0.6276 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.5022, allocations: 21.03 kB / 0.6276 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.5022, allocations: 36.06 kB / 0.6277 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.5036, allocations: 0.6312 MB / 0.6283 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.5036, allocations: 7.922 kB / 0.6283 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.5036, allocations: 15.94 kB / 0.6283 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5036, allocations: 8 kB / 0.6283 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.5048, allocations: 405.2 kB / 0.6287 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.5077, allocations: 1.828 MB / 0.6305 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.5089, allocations: 310.2 kB / 0.6308 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002868/0.5092, allocations: 108.8 kB / 0.6309 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03034/0.5395, allocations: 8.862 MB / 0.6396 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.5396, allocations: 34.56 kB / 0.6396 GB, free: 2.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.803e-06/0.5396, allocations: 4 kB / 0.6396 GB, free: 2.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002024/0.5416, allocations: 0.5282 MB / 0.6401 GB, free: 2.277 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.5416, allocations: 102.8 kB / 0.6402 GB, free: 2.152 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.542, allocations: 332.4 kB / 0.6405 GB, free: 1.812 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.5421, allocations: 25.7 kB / 0.6405 GB, free: 1.781 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.5422, allocations: 216 kB / 0.6407 GB, free: 1.566 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.5423, allocations: 43.59 kB / 0.6408 GB, free: 1.523 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.5424, allocations: 65.69 kB / 0.6409 GB, free: 1.453 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5426, allocations: 346.8 kB / 0.6412 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.5429, allocations: 83.94 kB / 0.6413 GB, free: 1.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.5433, allocations: 270.7 kB / 0.6415 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006287/0.5439, allocations: 296.4 kB / 0.6418 GB, free: 364 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.5439, allocations: 7.938 kB / 0.6418 GB, free: 356 kB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008061/0.5447, allocations: 337.1 kB / 0.6421 GB, free: 12 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5447, allocations: 4 kB / 0.6421 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5447, allocations: 7.938 kB / 0.6421 GB, free: 0 / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.856e-05/0.5448, allocations: 11.98 kB / 0.6422 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.5451, allocations: 67.89 kB / 0.6422 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.5451, allocations: 4 kB / 0.6422 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.5453, allocations: 52.03 kB / 0.6423 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.5454, allocations: 16 kB / 0.6423 GB, free: 15.85 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.0001698/0.5455, allocations: 153.7 kB / 0.6424 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.5456, allocations: 31.81 kB / 0.6425 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.5472, allocations: 1.156 MB / 0.6436 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5472, allocations: 11.98 kB / 0.6436 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5472, allocations: 0 / 0.6436 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.5472, allocations: 3.984 kB / 0.6436 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006861/0.5479, allocations: 0.6163 MB / 0.6442 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5479, allocations: 0 / 0.6442 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.5481, allocations: 47.95 kB / 0.6443 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5481, allocations: 11.98 kB / 0.6443 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.5481, allocations: 7.938 kB / 0.6443 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5481, allocations: 0 / 0.6443 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5481, allocations: 0 / 0.6443 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/0.5491, allocations: 0.6391 MB / 0.6449 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-05/0.5491, allocations: 51.58 kB / 0.645 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.5492, allocations: 35.67 kB / 0.645 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.5494, allocations: 19.98 kB / 0.645 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.5495, allocations: 15.97 kB / 0.645 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.5495, allocations: 11.98 kB / 0.645 GB, free: 12.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003821/0.5499, allocations: 338.9 kB / 0.6454 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5499, allocations: 0 / 0.6454 GB, free: 12.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002308/0.5522, allocations: 0.8694 MB / 0.6462 GB, free: 11.76 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.004599/0.5568, allocations: 2.082 MB / 0.6482 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008168/0.5576, allocations: 350.9 kB / 0.6486 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5576, allocations: 0.9375 kB / 0.6486 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.558, allocations: 219.2 kB / 0.6488 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.559, allocations: 180.4 kB / 0.649 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.5653, allocations: 4.312 MB / 0.6532 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.5656, allocations: 272.8 kB / 0.6534 GB, free: 4.141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00036/0.566, allocations: 189.6 kB / 0.6536 GB, free: 3.961 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5662, allocations: 191.4 kB / 0.6538 GB, free: 3.773 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5662, allocations: 0 / 0.6538 GB, free: 3.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09455/0.6608, allocations: 41.86 MB / 0.6947 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.44, allocations: 15.23 kB / 0.6947 GB, free: 10.16 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.97334797302028]