Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001321/0.001321, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001693/0.001693, allocations: 224.9 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2346/0.2346, allocations: 44.24 MB / 330.3 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 72.23 kB / 467.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1229, allocations: 61.04 MB / 0.5161 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.274/0.3969, allocations: 30.5 MB / 0.5459 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0176/0.4145, allocations: 17.75 MB / 0.5633 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.4148, allocations: 22.38 kB / 0.5633 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006583/0.4155, allocations: 219.1 kB / 0.5635 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.4161, allocations: 276 kB / 0.5638 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.4331, allocations: 6.054 MB / 0.5697 GB, free: 388 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.4341, allocations: 0.8506 MB / 0.5705 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/0.4345, allocations: 201.9 kB / 0.5707 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/0.4461, allocations: 5.487 MB / 0.576 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.4467, allocations: 258.5 kB / 0.5763 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.4467, allocations: 29.75 kB / 0.5763 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.4615, allocations: 6.337 MB / 0.5825 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.4617, allocations: 92.41 kB / 0.5826 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.4621, allocations: 189.8 kB / 0.5828 GB, free: 9.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.4733, allocations: 3.85 MB / 0.5865 GB, free: 7.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4733, allocations: 0 / 0.5865 GB, free: 7.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4733, allocations: 0 / 0.5865 GB, free: 7.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.4733, allocations: 1.375 kB / 0.5865 GB, free: 7.035 MB / 430.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.003274/0.4766, allocations: 0.9963 MB / 0.5875 GB, free: 6.293 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4766, allocations: 9.594 kB / 0.5875 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.653e-05/0.4767, allocations: 63.81 kB / 0.5876 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.4783, allocations: 193.8 kB / 0.5878 GB, free: 6.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.4788, allocations: 282.8 kB / 0.588 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.4789, allocations: 25.09 kB / 0.5881 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.4789, allocations: 28.19 kB / 0.5881 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.4801, allocations: 493.4 kB / 0.5886 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4801, allocations: 3.938 kB / 0.5886 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.4802, allocations: 15.34 kB / 0.5886 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.4802, allocations: 7.531 kB / 0.5886 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4814, allocations: 404.7 kB / 0.589 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.4847, allocations: 2.24 MB / 0.5912 GB, free: 3.293 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.4858, allocations: 317.9 kB / 0.5915 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.4861, allocations: 107.4 kB / 0.5916 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02953/0.5156, allocations: 8.476 MB / 0.5998 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.5156, allocations: 34.5 kB / 0.5999 GB, free: 13.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.5156, allocations: 0 / 0.5999 GB, free: 13.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002051/0.5177, allocations: 0.5336 MB / 0.6004 GB, free: 13.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.5177, allocations: 102.8 kB / 0.6005 GB, free: 13.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.5182, allocations: 324.5 kB / 0.6008 GB, free: 12.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.5182, allocations: 33.69 kB / 0.6008 GB, free: 12.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.5184, allocations: 208.1 kB / 0.601 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.5184, allocations: 55.56 kB / 0.6011 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.5185, allocations: 65.58 kB / 0.6012 GB, free: 12.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5187, allocations: 338.8 kB / 0.6015 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.519, allocations: 96.8 kB / 0.6016 GB, free: 11.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.5194, allocations: 220.3 kB / 0.6018 GB, free: 11.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.52, allocations: 290 kB / 0.6021 GB, free: 11.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.52, allocations: 0 / 0.6021 GB, free: 11.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007703/0.5208, allocations: 344.8 kB / 0.6024 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5208, allocations: 8.469 kB / 0.6024 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5208, allocations: 8 kB / 0.6024 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.5208, allocations: 7.938 kB / 0.6024 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.5211, allocations: 79.45 kB / 0.6025 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.5212, allocations: 4 kB / 0.6025 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.5214, allocations: 51.64 kB / 0.6025 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.5214, allocations: 12 kB / 0.6025 GB, free: 10.83 MB / 446.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.000175/0.5216, allocations: 161.8 kB / 0.6027 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.5217, allocations: 31.28 kB / 0.6027 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.5233, allocations: 1.145 MB / 0.6038 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.5233, allocations: 19.97 kB / 0.6039 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5233, allocations: 0 / 0.6039 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5233, allocations: 0 / 0.6039 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007663/0.5241, allocations: 0.6592 MB / 0.6045 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5241, allocations: 0 / 0.6045 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.5243, allocations: 43.95 kB / 0.6046 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5243, allocations: 3.984 kB / 0.6046 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.5243, allocations: 11.94 kB / 0.6046 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5243, allocations: 4 kB / 0.6046 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5243, allocations: 0 / 0.6046 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009362/0.5253, allocations: 0.6313 MB / 0.6052 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.5253, allocations: 55.48 kB / 0.6052 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.5254, allocations: 35.72 kB / 0.6053 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.5256, allocations: 15.92 kB / 0.6053 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.5257, allocations: 23.95 kB / 0.6053 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.5257, allocations: 8 kB / 0.6053 GB, free: 7.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003908/0.5261, allocations: 342.8 kB / 0.6056 GB, free: 7.582 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5261, allocations: 0 / 0.6056 GB, free: 7.582 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003093/0.5292, allocations: 0.85 MB / 0.6065 GB, free: 6.73 MB / 446.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.005518/0.5347, allocations: 2.091 MB / 0.6085 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000846/0.5356, allocations: 356.4 kB / 0.6089 GB, free: 4.277 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5356, allocations: 0 / 0.6089 GB, free: 4.277 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.5359, allocations: 208.5 kB / 0.6091 GB, free: 4.074 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5369, allocations: 197 kB / 0.6092 GB, free: 3.895 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/0.5441, allocations: 4.277 MB / 0.6134 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.5446, allocations: 0.8759 MB / 0.6143 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004006/0.545, allocations: 185.7 kB / 0.6145 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.5452, allocations: 195.4 kB / 0.6146 GB, free: 14.16 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5452, allocations: 0 / 0.6146 GB, free: 14.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09316/0.6384, allocations: 40.98 MB / 0.6547 GB, free: 5.148 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.09, allocations: 4.062 kB / 0.6547 GB, free: 5.145 MB / 494.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.570501171052456]