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.00104/0.00104, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001208/0.001208, allocations: 162.7 kB / 24.99 MB, free: 8.344 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.3053/0.3053, allocations: 34.26 MB / 296 MB, free: 0.7891 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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.685e-05/3.895e-05, allocations: 5.969 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.044/0.04404, allocations: 30.85 MB / 408.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0195/0.06354, allocations: 17.51 MB / 426.4 MB, free: 2.449 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.06399, allocations: 15.88 kB / 426.4 MB, free: 2.434 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.06466, allocations: 198.6 kB / 426.6 MB, free: 2.238 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.0653, allocations: 294.1 kB / 426.9 MB, free: 1.949 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01456/0.07987, allocations: 6.069 MB / 432.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.08114, allocations: 0.8535 MB / 433.8 MB, free: 11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.08147, allocations: 201 kB / 434 MB, free: 10.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007812/0.08928, allocations: 5.606 MB / 439.6 MB, free: 5.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.08967, allocations: 219.3 kB / 439.8 MB, free: 4.891 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.08972, allocations: 32 kB / 439.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2027/0.2924, allocations: 6.061 MB / 445.9 MB, free: 57.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.2926, allocations: 92.28 kB / 446 MB, free: 57.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.2929, allocations: 138.1 kB / 446.1 MB, free: 57.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009427/0.3023, allocations: 4.7 MB / 450.8 MB, free: 57.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3024, allocations: 0 / 450.8 MB, free: 57.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3024, allocations: 1.531 kB / 450.8 MB, free: 57.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.3024, allocations: 0 / 450.8 MB, free: 57.21 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.002365/0.3047, allocations: 1.086 MB / 451.9 MB, free: 56.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3048, allocations: 11.41 kB / 451.9 MB, free: 56.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009941/0.3058, allocations: 278 kB / 452.2 MB, free: 56.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.3061, allocations: 291.5 kB / 452.5 MB, free: 56.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.3062, allocations: 23.94 kB / 452.5 MB, free: 56.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.3062, allocations: 26.09 kB / 452.5 MB, free: 56.33 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.3069, allocations: 0.6304 MB / 453.2 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3069, allocations: 3.281 kB / 453.2 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.307, allocations: 12.41 kB / 453.2 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.307, allocations: 10.38 kB / 453.2 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.3075, allocations: 291 kB / 453.5 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.309, allocations: 2.236 MB / 455.7 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.3096, allocations: 272.1 kB / 456 MB, free: 54.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/0.3096, allocations: 48.98 kB / 456 MB, free: 54.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/0.3243, allocations: 8.853 MB / 464.9 MB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.3243, allocations: 47.14 kB / 464.9 MB, free: 53.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.3243, allocations: 0 / 464.9 MB, free: 53.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001011/0.3253, allocations: 409.3 kB / 465.3 MB, free: 53.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3253, allocations: 109.2 kB / 465.4 MB, free: 53.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.3256, allocations: 320.9 kB / 465.7 MB, free: 53.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3256, allocations: 25.7 kB / 465.8 MB, free: 53.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3257, allocations: 268.7 kB / 466 MB, free: 53.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3257, allocations: 50.91 kB / 466.1 MB, free: 53.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.3258, allocations: 67.97 kB / 466.2 MB, free: 53.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.3259, allocations: 0.5078 MB / 466.7 MB, free: 52.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.3259, allocations: 53.58 kB / 466.7 MB, free: 52.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3261, allocations: 274.5 kB / 467 MB, free: 52.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.3263, allocations: 264.5 kB / 467.2 MB, free: 52.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3263, allocations: 4.562 kB / 467.2 MB, free: 52.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002851/0.3266, allocations: 267.9 kB / 467.5 MB, free: 52.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.3266, allocations: 6.25 kB / 467.5 MB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3266, allocations: 3.312 kB / 467.5 MB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3266, allocations: 6.406 kB / 467.5 MB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.3268, allocations: 64.95 kB / 467.6 MB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3268, allocations: 9.672 kB / 467.6 MB, free: 52.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3269, allocations: 38.09 kB / 467.6 MB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.3269, allocations: 18.92 kB / 467.6 MB, free: 51.99 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 9.751e-05/0.327, allocations: 175.8 kB / 467.8 MB, free: 51.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.327, allocations: 29.45 kB / 467.8 MB, free: 51.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/0.3277, allocations: 0.7579 MB / 468.6 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.3277, allocations: 19.44 kB / 468.6 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3277, allocations: 0 / 468.6 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3277, allocations: 3.422 kB / 468.6 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.3281, allocations: 476.7 kB / 469.1 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3281, allocations: 0 / 469.1 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.3282, allocations: 44.08 kB / 469.1 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3282, allocations: 3.312 kB / 469.1 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3282, allocations: 3.812 kB / 469.1 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3282, allocations: 0 / 469.1 MB, free: 51.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3282, allocations: 4 kB / 469.1 MB, free: 51.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.3286, allocations: 0.5181 MB / 469.7 MB, free: 51.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.3287, allocations: 48.7 kB / 469.7 MB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.3287, allocations: 29.42 kB / 469.7 MB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.3288, allocations: 12.92 kB / 469.8 MB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.677e-05/0.3289, allocations: 23.56 kB / 469.8 MB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3289, allocations: 3.031 kB / 469.8 MB, free: 51.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.3291, allocations: 307.2 kB / 470.1 MB, free: 51 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3291, allocations: 0 / 470.1 MB, free: 51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003501/0.3326, allocations: 0.868 MB / 471 MB, free: 50.89 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.003624/0.3362, allocations: 1.12 MB / 472.1 MB, free: 50.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.3367, allocations: 202 kB / 472.3 MB, free: 50.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3367, allocations: 3.375 kB / 472.3 MB, free: 50.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.3368, allocations: 126 kB / 472.4 MB, free: 50.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.3374, allocations: 179.3 kB / 472.6 MB, free: 50.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3389, allocations: 0.9328 MB / 473.5 MB, free: 50.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.021e-05/0.3389, allocations: 139.5 kB / 473.6 MB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002677/0.3392, allocations: 168.3 kB / 473.8 MB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.3393, allocations: 34.53 kB / 473.8 MB, free: 50.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3393, allocations: 0 / 473.8 MB, free: 50.1 MB / 410.7 MB Notification: Performance of Templates: time 0.04093/0.3802, allocations: 34.77 MB / 0.4967 GB, free: 39.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] 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","",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.917193671921268]