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.001583/0.001583, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001876/0.001876, allocations: 204.9 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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.2295/0.2295, allocations: 46.96 MB / 360.8 MB, free: 4.012 MB / 286.1 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 0.002478/0.002478, allocations: 79.88 kB / 0.4961 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3309, allocations: 66.09 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03706/0.368, allocations: 27.72 MB / 0.5878 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02199/0.39, allocations: 15.67 MB / 0.6031 GB, free: 8.496 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.3904, allocations: 15.88 kB / 0.6031 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007462/0.3911, allocations: 198.7 kB / 0.6033 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.3919, allocations: 282.4 kB / 0.6035 GB, free: 8.008 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01641/0.4083, allocations: 6 MB / 0.6094 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001247/0.4095, allocations: 0.8537 MB / 0.6102 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.4099, allocations: 200.9 kB / 0.6104 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/0.4216, allocations: 5.474 MB / 0.6158 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000594/0.4222, allocations: 247 kB / 0.616 GB, free: 11.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.4223, allocations: 28 kB / 0.616 GB, free: 11.13 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01188/0.4342, allocations: 6.06 MB / 0.6219 GB, free: 5.062 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.4344, allocations: 91.67 kB / 0.622 GB, free: 4.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002668/0.4346, allocations: 167.2 kB / 0.6222 GB, free: 4.809 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008752/0.4434, allocations: 3.854 MB / 0.626 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4434, allocations: 4 kB / 0.626 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4434, allocations: 0 / 0.626 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.4434, allocations: 0 / 0.626 GB, free: 0.9414 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.00254/0.446, allocations: 1.005 MB / 0.6269 GB, free: 15.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.446, allocations: 8.031 kB / 0.6269 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.345e-05/0.4461, allocations: 58.73 kB / 0.627 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.4477, allocations: 208.5 kB / 0.6272 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.4483, allocations: 284.9 kB / 0.6275 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.4483, allocations: 29.03 kB / 0.6275 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.4483, allocations: 28.12 kB / 0.6275 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.4497, allocations: 0.6272 MB / 0.6281 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4497, allocations: 4 kB / 0.6281 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.4497, allocations: 12 kB / 0.6282 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4497, allocations: 4 kB / 0.6282 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.4509, allocations: 413.2 kB / 0.6286 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003001/0.4539, allocations: 1.82 MB / 0.6303 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.4551, allocations: 326.2 kB / 0.6306 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.4554, allocations: 100.8 kB / 0.6307 GB, free: 11.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03234/0.4877, allocations: 8.866 MB / 0.6394 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.4878, allocations: 38.55 kB / 0.6394 GB, free: 2.883 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.4878, allocations: 4 kB / 0.6394 GB, free: 2.879 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002122/0.4899, allocations: 0.5189 MB / 0.6399 GB, free: 2.355 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.49, allocations: 114.8 kB / 0.6401 GB, free: 2.219 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.4904, allocations: 324.4 kB / 0.6404 GB, free: 1.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.4904, allocations: 25.7 kB / 0.6404 GB, free: 1.855 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.4906, allocations: 216 kB / 0.6406 GB, free: 1.641 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.4907, allocations: 55.58 kB / 0.6406 GB, free: 1.586 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.4908, allocations: 61.7 kB / 0.6407 GB, free: 1.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.491, allocations: 338.8 kB / 0.641 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.4912, allocations: 99.88 kB / 0.6411 GB, free: 1.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.4917, allocations: 258.8 kB / 0.6414 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.4923, allocations: 301.4 kB / 0.6417 GB, free: 428 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.4923, allocations: 0 / 0.6417 GB, free: 428 kB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007923/0.4931, allocations: 342.4 kB / 0.642 GB, free: 80 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4931, allocations: 8 kB / 0.642 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-05/0.4932, allocations: 7.938 kB / 0.642 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4932, allocations: 7.938 kB / 0.642 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.4935, allocations: 67.89 kB / 0.6421 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.4935, allocations: 12.41 kB / 0.6421 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.4938, allocations: 47.72 kB / 0.6421 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.4938, allocations: 19.98 kB / 0.6422 GB, free: 15.91 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.0001811/0.494, allocations: 153.7 kB / 0.6423 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.4941, allocations: 31.81 kB / 0.6423 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.4957, allocations: 1.168 MB / 0.6435 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.4957, allocations: 15.97 kB / 0.6435 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4957, allocations: 0 / 0.6435 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4957, allocations: 0 / 0.6435 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000759/0.4965, allocations: 0.6086 MB / 0.6441 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4965, allocations: 0 / 0.6441 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.4967, allocations: 55.95 kB / 0.6441 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4967, allocations: 0 / 0.6441 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4968, allocations: 3.938 kB / 0.6441 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.4968, allocations: 0 / 0.6441 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4968, allocations: 8 kB / 0.6441 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4978, allocations: 0.6391 MB / 0.6448 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.863e-05/0.4979, allocations: 63.47 kB / 0.6448 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.4979, allocations: 23.72 kB / 0.6448 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.4982, allocations: 19.98 kB / 0.6449 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.4982, allocations: 23.95 kB / 0.6449 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4982, allocations: 7.938 kB / 0.6449 GB, free: 13.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004233/0.4987, allocations: 342.9 kB / 0.6452 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4987, allocations: 0 / 0.6452 GB, free: 12.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002568/0.5012, allocations: 0.8578 MB / 0.6461 GB, free: 11.82 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.005179/0.5064, allocations: 2.083 MB / 0.6481 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009262/0.5073, allocations: 351.9 kB / 0.6484 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5074, allocations: 3.938 kB / 0.6484 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.5077, allocations: 212.6 kB / 0.6486 GB, free: 9.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5088, allocations: 188.9 kB / 0.6488 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/0.5159, allocations: 4.304 MB / 0.653 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.5162, allocations: 280.8 kB / 0.6533 GB, free: 4.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.5166, allocations: 188.5 kB / 0.6535 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.5169, allocations: 195.4 kB / 0.6537 GB, free: 3.82 MB / 494.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5169, allocations: 0 / 0.6537 GB, free: 3.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08982/0.6067, allocations: 41.64 MB / 0.6943 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.56, allocations: 3.859 kB / 0.6943 GB, free: 10.36 MB / 0.5294 GB " [Timeout remaining time 646] (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/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_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: 17.0251369420439]