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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 249.8 MB, free: 3.578 MB / 190.1 MB " [Timeout remaining time 178] 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.2141/0.2141, allocations: 44.92 MB / 349.6 MB, free: 1.688 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001957/0.001957, allocations: 63.03 kB / 491.8 MB, free: 29.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1236, allocations: 64.25 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03808/0.1616, allocations: 30.26 MB / 0.5725 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02275/0.1844, allocations: 17.66 MB / 0.5898 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003746/0.1848, allocations: 7.938 kB / 0.5898 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007395/0.1855, allocations: 226.5 kB / 0.59 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000722/0.1862, allocations: 282.4 kB / 0.5903 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01799/0.2042, allocations: 6.041 MB / 0.5962 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2055, allocations: 0.8303 MB / 0.597 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.2059, allocations: 220.7 kB / 0.5972 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/0.218, allocations: 5.458 MB / 0.6025 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004634/0.2184, allocations: 251 kB / 0.6028 GB, free: 6.625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.2185, allocations: 36 kB / 0.6028 GB, free: 6.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/0.2308, allocations: 6.322 MB / 0.609 GB, free: 268 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.231, allocations: 95.67 kB / 0.6091 GB, free: 172 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.297/0.5281, allocations: 188.6 kB / 0.6093 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.5397, allocations: 3.85 MB / 0.613 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5397, allocations: 0 / 0.613 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5397, allocations: 4.125 kB / 0.613 GB, free: 15.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.5397, allocations: 0 / 0.613 GB, free: 15.45 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.004819/0.5445, allocations: 1.069 MB / 0.6141 GB, free: 14.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5446, allocations: 9.594 kB / 0.6141 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.5446, allocations: 63.8 kB / 0.6141 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.5464, allocations: 201.4 kB / 0.6143 GB, free: 14.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006028/0.547, allocations: 348.8 kB / 0.6147 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.547, allocations: 24.03 kB / 0.6147 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.5471, allocations: 26.78 kB / 0.6147 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.5483, allocations: 490 kB / 0.6152 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5484, allocations: 4.031 kB / 0.6152 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.5484, allocations: 14.38 kB / 0.6152 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.5484, allocations: 9.484 kB / 0.6152 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.5497, allocations: 409.9 kB / 0.6156 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/0.5526, allocations: 2.423 MB / 0.618 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.5538, allocations: 317 kB / 0.6183 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.5541, allocations: 99.47 kB / 0.6184 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03335/0.5874, allocations: 16.53 MB / 0.6345 GB, free: 17.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.5875, allocations: 35.41 kB / 0.6345 GB, free: 17.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.5875, allocations: 4.75 kB / 0.6345 GB, free: 17.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.00203/0.5895, allocations: 0.5316 MB / 0.6351 GB, free: 17.76 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.5896, allocations: 105.8 kB / 0.6352 GB, free: 17.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.5899, allocations: 318.7 kB / 0.6355 GB, free: 17.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.59, allocations: 25.7 kB / 0.6355 GB, free: 17.49 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.5901, allocations: 211.9 kB / 0.6357 GB, free: 17.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.5901, allocations: 53.17 kB / 0.6357 GB, free: 17.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.823e-05/0.5902, allocations: 64.06 kB / 0.6358 GB, free: 17.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5904, allocations: 343.4 kB / 0.6361 GB, free: 16.99 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.5906, allocations: 95.97 kB / 0.6362 GB, free: 16.99 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.591, allocations: 212.3 kB / 0.6364 GB, free: 16.85 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.5915, allocations: 300.6 kB / 0.6367 GB, free: 16.71 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5915, allocations: 0.9688 kB / 0.6367 GB, free: 16.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007654/0.5923, allocations: 342.3 kB / 0.637 GB, free: 16.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5923, allocations: 10.81 kB / 0.637 GB, free: 16.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5923, allocations: 2.938 kB / 0.637 GB, free: 16.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.5923, allocations: 9.156 kB / 0.6371 GB, free: 16.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.5926, allocations: 66.17 kB / 0.6371 GB, free: 16.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.5926, allocations: 11.92 kB / 0.6371 GB, free: 16.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.5929, allocations: 48.22 kB / 0.6372 GB, free: 16.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.5929, allocations: 14.97 kB / 0.6372 GB, free: 16.63 MB / 478.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.0001791/0.5931, allocations: 148.8 kB / 0.6373 GB, free: 16.52 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.5932, allocations: 37.92 kB / 0.6374 GB, free: 16.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.5946, allocations: 1.109 MB / 0.6385 GB, free: 16.32 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.5946, allocations: 17.58 kB / 0.6385 GB, free: 16.32 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5946, allocations: 0 / 0.6385 GB, free: 16.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5946, allocations: 6.891 kB / 0.6385 GB, free: 16.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.5953, allocations: 0.6646 MB / 0.6391 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5953, allocations: 0 / 0.6391 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.5955, allocations: 53.59 kB / 0.6392 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5955, allocations: 2.281 kB / 0.6392 GB, free: 16.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5955, allocations: 8.938 kB / 0.6392 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.5955, allocations: 1.406 kB / 0.6392 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5955, allocations: 0 / 0.6392 GB, free: 16.08 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/0.5965, allocations: 0.62 MB / 0.6398 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.5967, allocations: 134.1 kB / 0.6399 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.5967, allocations: 32.66 kB / 0.64 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.597, allocations: 16.64 kB / 0.64 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.5971, allocations: 20.09 kB / 0.64 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.5971, allocations: 12.84 kB / 0.64 GB, free: 15.74 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003823/0.5975, allocations: 344.2 kB / 0.6403 GB, free: 15.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5975, allocations: 0 / 0.6403 GB, free: 15.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006139/0.6036, allocations: 0.853 MB / 0.6412 GB, free: 15.55 MB / 478.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.008533/0.6121, allocations: 2.073 MB / 0.6432 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008359/0.613, allocations: 349.5 kB / 0.6435 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.613, allocations: 3.156 kB / 0.6435 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.6133, allocations: 204.1 kB / 0.6437 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.6143, allocations: 188.4 kB / 0.6439 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007605/0.6219, allocations: 4.285 MB / 0.6481 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.6224, allocations: 0.8806 MB / 0.6489 GB, free: 12.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003947/0.6228, allocations: 189.8 kB / 0.6491 GB, free: 12.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.6229, allocations: 187.9 kB / 0.6493 GB, free: 12.07 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6229, allocations: 0 / 0.6493 GB, free: 12.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/0.7044, allocations: 40.43 MB / 0.6888 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.41, allocations: 11.97 kB / 0.6888 GB, free: 10.98 MB / 0.4981 GB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.048023812938482]