Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007833/0.0007833, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001232/0.001232, allocations: 170 kB / 23.95 MB, free: 0.6016 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.9366/0.9366, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.276/0.276, allocations: 32.79 MB / 293.5 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.106e-05, allocations: 2.844 kB / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2118/0.2119, allocations: 27.55 MB / 467.1 MB, free: 30.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.2242, allocations: 15.65 MB / 482.8 MB, free: 19.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005176/0.2247, allocations: 18.22 kB / 482.8 MB, free: 19.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008254/0.2256, allocations: 201 kB / 483 MB, free: 19.72 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007053/0.2263, allocations: 294.7 kB / 483.3 MB, free: 19.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01288/0.2392, allocations: 6.083 MB / 489.4 MB, free: 16.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009054/0.2401, allocations: 0.8417 MB / 490.2 MB, free: 16.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.2404, allocations: 201.8 kB / 490.4 MB, free: 16.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006638/0.247, allocations: 5.593 MB / 496 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.2475, allocations: 217.3 kB / 496.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-05/0.2475, allocations: 30.5 kB / 496.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.2582, allocations: 6.076 MB / 0.4905 GB, free: 12.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.2584, allocations: 89.94 kB / 0.4906 GB, free: 12.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.2588, allocations: 141.5 kB / 0.4908 GB, free: 12.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.2712, allocations: 4.852 MB / 0.4955 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2713, allocations: 1.094 kB / 0.4955 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2713, allocations: 0 / 0.4955 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.2713, allocations: 0 / 0.4955 GB, free: 10.39 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.003439/0.2747, allocations: 0.9963 MB / 0.4965 GB, free: 9.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.2748, allocations: 9.594 kB / 0.4965 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.2748, allocations: 72.12 kB / 0.4966 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/0.2758, allocations: 198.9 kB / 0.4967 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.2762, allocations: 289.3 kB / 0.497 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.2763, allocations: 25.81 kB / 0.497 GB, free: 9.242 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.2763, allocations: 24.56 kB / 0.4971 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.277, allocations: 0.6341 MB / 0.4977 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.277, allocations: 1.188 kB / 0.4977 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.2771, allocations: 15.69 kB / 0.4977 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2771, allocations: 7.125 kB / 0.4977 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.2777, allocations: 405.1 kB / 0.4981 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.2796, allocations: 1.813 MB / 0.4999 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007165/0.2803, allocations: 322.5 kB / 0.5002 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.2804, allocations: 104.5 kB / 0.5003 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/0.2971, allocations: 8.867 MB / 0.5089 GB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.2971, allocations: 38.56 kB / 0.509 GB, free: 3.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.2971, allocations: 0 / 0.509 GB, free: 3.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001115/0.2983, allocations: 0.5245 MB / 0.5095 GB, free: 2.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.2983, allocations: 114.7 kB / 0.5096 GB, free: 2.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.2985, allocations: 332.3 kB / 0.5099 GB, free: 2.195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2985, allocations: 29.7 kB / 0.5099 GB, free: 2.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.2986, allocations: 212.1 kB / 0.5101 GB, free: 1.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.2986, allocations: 51.58 kB / 0.5102 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.2987, allocations: 65.64 kB / 0.5103 GB, free: 1.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.922e-05/0.2987, allocations: 342.8 kB / 0.5106 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2988, allocations: 87.92 kB / 0.5107 GB, free: 1.398 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.299, allocations: 258.8 kB / 0.5109 GB, free: 1.078 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.2993, allocations: 304.1 kB / 0.5112 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2993, allocations: 0 / 0.5112 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003853/0.2997, allocations: 337 kB / 0.5115 GB, free: 408 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2997, allocations: 8 kB / 0.5115 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2997, allocations: 4.469 kB / 0.5115 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2997, allocations: 8 kB / 0.5115 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.2999, allocations: 71.89 kB / 0.5116 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2999, allocations: 14.3 kB / 0.5116 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3001, allocations: 43.72 kB / 0.5117 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3001, allocations: 19.98 kB / 0.5117 GB, free: 240 kB / 410.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.0001066/0.3002, allocations: 150.9 kB / 0.5118 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.3002, allocations: 32.56 kB / 0.5119 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009728/0.3012, allocations: 1.171 MB / 0.513 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.3012, allocations: 15.97 kB / 0.513 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3012, allocations: 0 / 0.513 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3012, allocations: 7.938 kB / 0.513 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.3017, allocations: 0.6205 MB / 0.5136 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.3017, allocations: 0 / 0.5136 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.3018, allocations: 51.89 kB / 0.5137 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3018, allocations: 2.438 kB / 0.5137 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3019, allocations: 4 kB / 0.5137 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3019, allocations: 4 kB / 0.5137 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3019, allocations: 3.984 kB / 0.5137 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005773/0.3024, allocations: 0.6404 MB / 0.5143 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-05/0.3025, allocations: 55.52 kB / 0.5144 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3026, allocations: 35.67 kB / 0.5144 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3027, allocations: 11.98 kB / 0.5144 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.3027, allocations: 27.89 kB / 0.5144 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3027, allocations: 12 kB / 0.5145 GB, free: 13.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000264/0.303, allocations: 342.8 kB / 0.5148 GB, free: 12.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.303, allocations: 0 / 0.5148 GB, free: 12.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003478/0.3065, allocations: 0.8539 MB / 0.5156 GB, free: 12.13 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.00645/0.3129, allocations: 2.193 MB / 0.5178 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006853/0.3136, allocations: 355.9 kB / 0.5181 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3136, allocations: 4 kB / 0.5181 GB, free: 9.562 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.3138, allocations: 212.4 kB / 0.5183 GB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.3145, allocations: 196.2 kB / 0.5185 GB, free: 9.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0069/0.3214, allocations: 4.289 MB / 0.5227 GB, free: 4.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.3216, allocations: 280.8 kB / 0.5229 GB, free: 4.402 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.3219, allocations: 181.5 kB / 0.5231 GB, free: 4.227 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3221, allocations: 200.4 kB / 0.5233 GB, free: 4.031 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3221, allocations: 0 / 0.5233 GB, free: 4.031 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05954/0.3816, allocations: 41.83 MB / 0.5642 GB, free: 10.45 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.52, allocations: 0 / 0.5642 GB, free: 10.45 MB / 474.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 10.911785976029932]