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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8954/0.8954, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 34.24 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 442.1 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.442e-05, allocations: 6.219 kB / 442.2 MB, free: 1.555 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.184/0.184, allocations: 27.56 MB / 469.7 MB, free: 26.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1944, allocations: 15.63 MB / 485.3 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.1947, allocations: 13.84 kB / 485.4 MB, free: 16.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006071/0.1953, allocations: 202.8 kB / 485.6 MB, free: 16.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.1958, allocations: 295.8 kB / 485.8 MB, free: 16.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.2066, allocations: 6.088 MB / 491.9 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007677/0.2073, allocations: 0.8487 MB / 492.8 MB, free: 13.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.2076, allocations: 201.2 kB / 493 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006947/0.2146, allocations: 5.597 MB / 498.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.2151, allocations: 217.6 kB / 498.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.497e-05/0.2151, allocations: 29.19 kB / 498.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009387/0.2245, allocations: 6.069 MB / 0.493 GB, free: 9.121 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.2247, allocations: 94.97 kB / 0.4931 GB, free: 9.066 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.2249, allocations: 138 kB / 0.4933 GB, free: 9.016 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.2359, allocations: 4.86 MB / 0.498 GB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.236, allocations: 1.344 kB / 0.498 GB, free: 6.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.236, allocations: 0 / 0.498 GB, free: 6.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.236, allocations: 0 / 0.498 GB, free: 6.762 MB / 410.7 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.00332/0.2393, allocations: 0.993 MB / 0.499 GB, free: 6.023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.2393, allocations: 10.16 kB / 0.499 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.2394, allocations: 62.84 kB / 0.4991 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009418/0.2403, allocations: 205.6 kB / 0.4993 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.2408, allocations: 292.8 kB / 0.4995 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.2408, allocations: 28.08 kB / 0.4996 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.2408, allocations: 25.06 kB / 0.4996 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000748/0.2416, allocations: 0.6291 MB / 0.5002 GB, free: 5.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2416, allocations: 5.031 kB / 0.5002 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.2416, allocations: 11.69 kB / 0.5002 GB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2416, allocations: 11.44 kB / 0.5002 GB, free: 5.078 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.2422, allocations: 409.5 kB / 0.5006 GB, free: 4.879 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.2438, allocations: 1.808 MB / 0.5024 GB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006521/0.2445, allocations: 319.5 kB / 0.5027 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.2446, allocations: 106.6 kB / 0.5028 GB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/0.2611, allocations: 8.866 MB / 0.5114 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.2612, allocations: 39.12 kB / 0.5115 GB, free: 14.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/0.2612, allocations: 0 / 0.5115 GB, free: 14.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001413/0.2626, allocations: 0.5282 MB / 0.512 GB, free: 14.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.2627, allocations: 106.8 kB / 0.5121 GB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.2629, allocations: 328.4 kB / 0.5124 GB, free: 13.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.263, allocations: 29.7 kB / 0.5124 GB, free: 13.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.2631, allocations: 212.9 kB / 0.5126 GB, free: 13.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.2631, allocations: 47.64 kB / 0.5127 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.2632, allocations: 65.64 kB / 0.5128 GB, free: 13.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.2633, allocations: 342.8 kB / 0.5131 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.2634, allocations: 87.94 kB / 0.5132 GB, free: 13.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.2637, allocations: 263.3 kB / 0.5134 GB, free: 12.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.264, allocations: 305.3 kB / 0.5137 GB, free: 12.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.264, allocations: 4 kB / 0.5137 GB, free: 12.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004647/0.2645, allocations: 330.9 kB / 0.514 GB, free: 12.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.2645, allocations: 10.53 kB / 0.514 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2645, allocations: 7.938 kB / 0.514 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.2645, allocations: 7.984 kB / 0.5141 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.2647, allocations: 72.36 kB / 0.5141 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2647, allocations: 15.88 kB / 0.5141 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.2649, allocations: 43.72 kB / 0.5142 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.265, allocations: 12 kB / 0.5142 GB, free: 11.86 MB / 426.7 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.0001474/0.2651, allocations: 157.7 kB / 0.5143 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.2651, allocations: 31.81 kB / 0.5144 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.2661, allocations: 1.169 MB / 0.5155 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.2661, allocations: 11.98 kB / 0.5155 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2661, allocations: 11.86 kB / 0.5155 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2661, allocations: 7.984 kB / 0.5155 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.2666, allocations: 0.6167 MB / 0.5161 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2666, allocations: 0 / 0.5161 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.2667, allocations: 51.89 kB / 0.5162 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2667, allocations: 0 / 0.5162 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2668, allocations: 9.812 kB / 0.5162 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2668, allocations: 0 / 0.5162 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2668, allocations: 3.938 kB / 0.5162 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.2673, allocations: 0.6482 MB / 0.5168 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.2674, allocations: 47.58 kB / 0.5169 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.2674, allocations: 31.73 kB / 0.5169 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.2675, allocations: 11.98 kB / 0.5169 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.2676, allocations: 23.91 kB / 0.5169 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.2676, allocations: 11.98 kB / 0.517 GB, free: 8.938 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002787/0.2679, allocations: 342.9 kB / 0.5173 GB, free: 8.602 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2679, allocations: 0 / 0.5173 GB, free: 8.602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00323/0.2711, allocations: 0.8616 MB / 0.5181 GB, free: 7.738 MB / 426.7 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.005553/0.2767, allocations: 2.194 MB / 0.5203 GB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006484/0.2773, allocations: 353.1 kB / 0.5206 GB, free: 5.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2773, allocations: 4 kB / 0.5206 GB, free: 5.172 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.2776, allocations: 208.5 kB / 0.5208 GB, free: 4.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.2784, allocations: 199.6 kB / 0.521 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/0.2843, allocations: 4.29 MB / 0.5252 GB, free: 336 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.2845, allocations: 284.8 kB / 0.5255 GB, free: 20 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003269/0.2848, allocations: 183 kB / 0.5256 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.285, allocations: 188.4 kB / 0.5258 GB, free: 15.66 MB / 442.7 MB Notification: Performance of SimCode: time 2.204e-06/0.285, allocations: 0 / 0.5258 GB, free: 15.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05962/0.3446, allocations: 41.83 MB / 0.5667 GB, free: 6.035 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.228, allocations: 4 kB / 0.5667 GB, free: 6.031 MB / 474.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.455141332000494]