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.001412/0.001412, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001199/0.001199, allocations: 166.6 kB / 24.99 MB, free: 8.789 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.9945/0.9945, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2659/0.2659, allocations: 32.81 MB / 294.6 MB, free: 1.309 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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.547e-05, allocations: 5.969 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02454/0.02456, allocations: 30.85 MB / 406.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01443/0.03899, allocations: 17.51 MB / 424.4 MB, free: 4.461 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003205/0.03932, allocations: 15.88 kB / 424.4 MB, free: 4.445 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006737/0.03999, allocations: 202.5 kB / 424.6 MB, free: 4.246 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006844/0.04067, allocations: 290.1 kB / 424.9 MB, free: 3.961 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.0542, allocations: 6.077 MB / 430.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000865/0.05507, allocations: 0.8379 MB / 431.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.05549, allocations: 205.1 kB / 432 MB, free: 12.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009045/0.06454, allocations: 5.614 MB / 437.6 MB, free: 7.113 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.06483, allocations: 211.4 kB / 437.8 MB, free: 6.906 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.06488, allocations: 28 kB / 437.8 MB, free: 6.879 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009085/0.07397, allocations: 6.075 MB / 443.9 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.07408, allocations: 91.66 kB / 444 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.07423, allocations: 139.7 kB / 444.1 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1927/0.2669, allocations: 4.703 MB / 448.8 MB, free: 58.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.2669, allocations: 0 / 448.8 MB, free: 58.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2669, allocations: 0 / 448.8 MB, free: 58.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.2669, allocations: 2.625 kB / 448.8 MB, free: 58.3 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.002159/0.2691, allocations: 1.087 MB / 449.9 MB, free: 57.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2691, allocations: 9.625 kB / 449.9 MB, free: 57.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009885/0.2701, allocations: 266.2 kB / 450.2 MB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.2705, allocations: 296.5 kB / 450.5 MB, free: 57.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.2705, allocations: 24.31 kB / 450.5 MB, free: 57.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.2705, allocations: 31.81 kB / 450.5 MB, free: 57.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/0.2713, allocations: 0.6225 MB / 451.1 MB, free: 57.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2713, allocations: 384 / 451.2 MB, free: 57.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.2713, allocations: 20.31 kB / 451.2 MB, free: 57.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2713, allocations: 5.719 kB / 451.2 MB, free: 57.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.2718, allocations: 287.7 kB / 451.5 MB, free: 57.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.2733, allocations: 2.241 MB / 453.7 MB, free: 55.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.2739, allocations: 278.5 kB / 454 MB, free: 55.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.014e-05/0.274, allocations: 45.25 kB / 454 MB, free: 55.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/0.2879, allocations: 8.851 MB / 462.9 MB, free: 54.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.2879, allocations: 40.05 kB / 462.9 MB, free: 54.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2879, allocations: 0 / 462.9 MB, free: 54.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008675/0.2888, allocations: 415.2 kB / 463.3 MB, free: 54.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.2888, allocations: 109.8 kB / 463.4 MB, free: 54.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.289, allocations: 316.6 kB / 463.7 MB, free: 54.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.289, allocations: 26.83 kB / 463.8 MB, free: 54.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.2891, allocations: 266.7 kB / 464 MB, free: 54.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.2891, allocations: 51.06 kB / 464.1 MB, free: 54.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.2892, allocations: 70.31 kB / 464.1 MB, free: 54.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.2893, allocations: 0.5116 MB / 464.6 MB, free: 53.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/0.2893, allocations: 53.88 kB / 464.7 MB, free: 53.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2895, allocations: 273.7 kB / 465 MB, free: 53.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.2896, allocations: 268 kB / 465.2 MB, free: 53.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2896, allocations: 0 / 465.2 MB, free: 53.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002734/0.2899, allocations: 269.3 kB / 465.5 MB, free: 53.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2899, allocations: 6.469 kB / 465.5 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2899, allocations: 6.156 kB / 465.5 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.29, allocations: 3 kB / 465.5 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2901, allocations: 67.16 kB / 465.6 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.2901, allocations: 6.344 kB / 465.6 MB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.2902, allocations: 38.83 kB / 465.6 MB, free: 53.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2902, allocations: 20.88 kB / 465.6 MB, free: 53.11 MB / 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 8.446e-05/0.2903, allocations: 172.6 kB / 465.8 MB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.2903, allocations: 32.73 kB / 465.8 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005553/0.2909, allocations: 0.7571 MB / 466.6 MB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.2909, allocations: 12.36 kB / 466.6 MB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2909, allocations: 0 / 466.6 MB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2909, allocations: 7.062 kB / 466.6 MB, free: 52.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.2912, allocations: 481.9 kB / 467.1 MB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2912, allocations: 0 / 467.1 MB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.2913, allocations: 34.36 kB / 467.1 MB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2913, allocations: 1 kB / 467.1 MB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.2913, allocations: 6.906 kB / 467.1 MB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2913, allocations: 0 / 467.1 MB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.2913, allocations: 0 / 467.1 MB, free: 52.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.2917, allocations: 0.5212 MB / 467.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.2917, allocations: 50.66 kB / 467.7 MB, free: 52.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.2917, allocations: 32.36 kB / 467.7 MB, free: 52.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.2918, allocations: 12.67 kB / 467.7 MB, free: 52.24 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.2919, allocations: 20.17 kB / 467.8 MB, free: 52.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2919, allocations: 9.594 kB / 467.8 MB, free: 52.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.2921, allocations: 307.1 kB / 468.1 MB, free: 52.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2921, allocations: 0 / 468.1 MB, free: 52.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00178/0.2938, allocations: 0.8651 MB / 468.9 MB, free: 52.02 MB / 410.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.002199/0.296, allocations: 1.106 MB / 470 MB, free: 51.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.2963, allocations: 210.7 kB / 470.2 MB, free: 51.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2963, allocations: 0 / 470.2 MB, free: 51.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.2964, allocations: 129.2 kB / 470.4 MB, free: 51.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.2969, allocations: 172.5 kB / 470.5 MB, free: 51.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.2982, allocations: 0.9318 MB / 471.5 MB, free: 51.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.594e-05/0.2982, allocations: 138.7 kB / 471.6 MB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.2984, allocations: 185.9 kB / 471.8 MB, free: 51.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.2985, allocations: 33.56 kB / 471.8 MB, free: 51.22 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2985, allocations: 0 / 471.8 MB, free: 51.22 MB / 410.7 MB Notification: Performance of Templates: time 0.03742/0.3359, allocations: 34.76 MB / 0.4947 GB, free: 41.94 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.731684972066432]