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.0008463/0.0008463, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008595/0.0008595, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9313/0.9313, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2785/0.2785, allocations: 34.25 MB / 294.9 MB, free: 0.7422 MB / 266.7 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 2.094e-06/2.094e-06, allocations: 0 / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.59e-05, allocations: 2.281 kB / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2229/0.2229, allocations: 27.56 MB / 469.7 MB, free: 27.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.2348, allocations: 15.63 MB / 485.4 MB, free: 16.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005968/0.2354, allocations: 14.31 kB / 485.4 MB, free: 16.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.2361, allocations: 209.3 kB / 485.6 MB, free: 16.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.2367, allocations: 284.3 kB / 485.9 MB, free: 16.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.2497, allocations: 6.103 MB / 492 MB, free: 13.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009067/0.2506, allocations: 0.8415 MB / 492.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003758/0.2509, allocations: 198.5 kB / 493 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008074/0.259, allocations: 5.596 MB / 498.6 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.2595, allocations: 217.4 kB / 498.8 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.2595, allocations: 30.16 kB / 498.8 MB, free: 10.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/0.2719, allocations: 6.071 MB / 0.4931 GB, free: 9.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.2722, allocations: 98.25 kB / 0.4932 GB, free: 9.305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.2725, allocations: 141.4 kB / 0.4933 GB, free: 9.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.2852, allocations: 4.849 MB / 0.498 GB, free: 7.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.2852, allocations: 0 / 0.498 GB, free: 7.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.2852, allocations: 0 / 0.498 GB, free: 7.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.413e-05/0.2852, allocations: 3.938 kB / 0.498 GB, free: 7.02 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.003751/0.289, allocations: 0.9939 MB / 0.499 GB, free: 6.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.289, allocations: 12.41 kB / 0.499 GB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.2891, allocations: 65.47 kB / 0.4991 GB, free: 6.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.2901, allocations: 198.4 kB / 0.4993 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.2907, allocations: 288.6 kB / 0.4995 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.2907, allocations: 25.91 kB / 0.4996 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.2907, allocations: 24 kB / 0.4996 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.2915, allocations: 0.6295 MB / 0.5002 GB, free: 5.355 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2915, allocations: 8.969 kB / 0.5002 GB, free: 5.348 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2916, allocations: 12 kB / 0.5002 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.2916, allocations: 11.62 kB / 0.5002 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.2923, allocations: 405.1 kB / 0.5006 GB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.294, allocations: 1.813 MB / 0.5024 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.2947, allocations: 320.9 kB / 0.5027 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.2948, allocations: 102.9 kB / 0.5028 GB, free: 3.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01658/0.3114, allocations: 8.871 MB / 0.5115 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3115, allocations: 36.84 kB / 0.5115 GB, free: 15.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.425e-06/0.3115, allocations: 0 / 0.5115 GB, free: 15.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001261/0.3127, allocations: 0.529 MB / 0.512 GB, free: 14.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.3128, allocations: 110.8 kB / 0.5121 GB, free: 14.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.3131, allocations: 328.4 kB / 0.5124 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3131, allocations: 29.7 kB / 0.5125 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.3132, allocations: 208.1 kB / 0.5127 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.3132, allocations: 51.62 kB / 0.5127 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.3133, allocations: 69.64 kB / 0.5128 GB, free: 13.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.3134, allocations: 338.8 kB / 0.5131 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3136, allocations: 91.92 kB / 0.5132 GB, free: 13.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.3138, allocations: 254.8 kB / 0.5134 GB, free: 12.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.3141, allocations: 303.2 kB / 0.5137 GB, free: 12.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.3141, allocations: 4 kB / 0.5137 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004483/0.3146, allocations: 333 kB / 0.514 GB, free: 12.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3146, allocations: 8 kB / 0.514 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3146, allocations: 4 kB / 0.5141 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3146, allocations: 4.469 kB / 0.5141 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.3148, allocations: 75.89 kB / 0.5141 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3148, allocations: 11.88 kB / 0.5141 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.315, allocations: 47.7 kB / 0.5142 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.315, allocations: 17.38 kB / 0.5142 GB, free: 12.13 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.0001381/0.3151, allocations: 155.8 kB / 0.5144 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.3152, allocations: 39.8 kB / 0.5144 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/0.3161, allocations: 1.165 MB / 0.5155 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.3161, allocations: 19.91 kB / 0.5155 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3161, allocations: 7.875 kB / 0.5156 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3161, allocations: 0 / 0.5156 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3166, allocations: 0.6206 MB / 0.5162 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3166, allocations: 4 kB / 0.5162 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3167, allocations: 47.95 kB / 0.5162 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3167, allocations: 0 / 0.5162 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3167, allocations: 3.984 kB / 0.5162 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3167, allocations: 4 kB / 0.5162 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.3167, allocations: 3.938 kB / 0.5162 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.3173, allocations: 0.6443 MB / 0.5168 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.3173, allocations: 47.59 kB / 0.5169 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3174, allocations: 31.73 kB / 0.5169 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3175, allocations: 15.98 kB / 0.5169 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.3176, allocations: 23.89 kB / 0.517 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.3176, allocations: 8 kB / 0.517 GB, free: 9.223 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002591/0.3178, allocations: 346.8 kB / 0.5173 GB, free: 8.883 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3178, allocations: 4 kB / 0.5173 GB, free: 8.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002748/0.3206, allocations: 0.8577 MB / 0.5181 GB, free: 8.02 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.006109/0.3267, allocations: 2.194 MB / 0.5203 GB, free: 5.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006603/0.3273, allocations: 353 kB / 0.5206 GB, free: 5.461 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3273, allocations: 4 kB / 0.5206 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.3276, allocations: 212.4 kB / 0.5208 GB, free: 5.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.3283, allocations: 193.6 kB / 0.521 GB, free: 5.066 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/0.3349, allocations: 4.282 MB / 0.5252 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.3351, allocations: 284.8 kB / 0.5255 GB, free: 300 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003739/0.3355, allocations: 190.3 kB / 0.5256 GB, free: 116 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.3357, allocations: 188.5 kB / 0.5258 GB, free: 15.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.462e-06/0.3357, allocations: 4 kB / 0.5258 GB, free: 15.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06237/0.398, allocations: 41.84 MB / 0.5667 GB, free: 6.344 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.703, allocations: 3.062 kB / 0.5667 GB, free: 6.344 MB / 474.7 MB " [Timeout remaining time 651] (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/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_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: 11.100677895359695]