Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007942/0.0007942, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008849/0.0008849, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9118/0.9118, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2435/0.2435, allocations: 34.86 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.436e-05, allocations: 5.406 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01303/0.01304, allocations: 14.55 MB / 340.5 MB, free: 8.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.02367, allocations: 12.73 MB / 353.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.02382, allocations: 19.75 kB / 353.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.02417, allocations: 123.1 kB / 353.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.02456, allocations: 302 kB / 353.7 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007539/0.0321, allocations: 5.066 MB / 358.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005919/0.03269, allocations: 0.8692 MB / 359.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.03294, allocations: 213.2 kB / 359.8 MB, free: 5.113 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.03523, allocations: 2.227 MB / 362 MB, free: 2.859 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.03542, allocations: 203.4 kB / 362.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.03546, allocations: 32 kB / 362.3 MB, free: 2.629 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006757/0.04222, allocations: 6.337 MB / 368.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.0423, allocations: 99.66 kB / 368.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.0424, allocations: 135.8 kB / 368.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003792/0.04619, allocations: 4.56 MB / 373.4 MB, free: 7.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.0462, allocations: 4 kB / 373.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.0462, allocations: 0 / 373.4 MB, free: 7.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.0462, allocations: 0 / 373.4 MB, free: 7.48 MB / 346.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.000996/0.0472, allocations: 0.9218 MB / 374.3 MB, free: 6.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.04723, allocations: 8.031 kB / 374.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/0.0482, allocations: 296 kB / 374.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.04849, allocations: 272.6 kB / 374.9 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.04852, allocations: 25.03 kB / 374.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.04854, allocations: 28.38 kB / 374.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006565/0.0492, allocations: 0.5927 MB / 375.5 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.04921, allocations: 192 / 375.5 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.04923, allocations: 15.94 kB / 375.6 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.04924, allocations: 8 kB / 375.6 MB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.04966, allocations: 257.3 kB / 375.8 MB, free: 4.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.0509, allocations: 1.531 MB / 377.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.05142, allocations: 262.7 kB / 377.6 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.05147, allocations: 36.83 kB / 377.6 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2569/0.3084, allocations: 68.05 MB / 445.7 MB, free: 100.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3084, allocations: 34.67 kB / 445.7 MB, free: 100.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.3084, allocations: 0 / 445.7 MB, free: 100.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008697/0.3093, allocations: 370.1 kB / 446.1 MB, free: 100.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3093, allocations: 106.3 kB / 446.2 MB, free: 100.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.3095, allocations: 257.1 kB / 446.4 MB, free: 100.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3095, allocations: 29.27 kB / 446.5 MB, free: 100.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.3095, allocations: 201 kB / 446.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3096, allocations: 58.72 kB / 446.7 MB, free: 100.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.3096, allocations: 60.7 kB / 446.8 MB, free: 100.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.3097, allocations: 339.9 kB / 447.1 MB, free: 100.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.41e-05/0.3097, allocations: 49.89 kB / 447.2 MB, free: 100.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.374e-05/0.3098, allocations: 205.6 kB / 447.4 MB, free: 99.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.3099, allocations: 214.7 kB / 447.6 MB, free: 99.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3099, allocations: 3.188 kB / 447.6 MB, free: 99.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001708/0.3101, allocations: 207.3 kB / 447.8 MB, free: 99.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3101, allocations: 7.438 kB / 447.8 MB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3101, allocations: 3.625 kB / 447.8 MB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3101, allocations: 3.562 kB / 447.8 MB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3103, allocations: 66.88 kB / 447.9 MB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3103, allocations: 7.609 kB / 447.9 MB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3104, allocations: 34.41 kB / 447.9 MB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3104, allocations: 11.89 kB / 447.9 MB, free: 99.7 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 6.964e-05/0.3104, allocations: 137.8 kB / 448 MB, free: 99.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.3105, allocations: 20.92 kB / 448.1 MB, free: 99.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004285/0.3109, allocations: 0.6971 MB / 448.8 MB, free: 99.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3109, allocations: 16.84 kB / 448.8 MB, free: 99.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.3109, allocations: 1.969 kB / 448.8 MB, free: 99.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3109, allocations: 2.062 kB / 448.8 MB, free: 99.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3112, allocations: 380.5 kB / 449.1 MB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3112, allocations: 3.281 kB / 449.2 MB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.403e-05/0.3113, allocations: 40.72 kB / 449.2 MB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3113, allocations: 3.312 kB / 449.2 MB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3113, allocations: 4.188 kB / 449.2 MB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3113, allocations: 3.844 kB / 449.2 MB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3113, allocations: 0 / 449.2 MB, free: 99.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3115, allocations: 435.2 kB / 449.6 MB, free: 99.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.3115, allocations: 47.03 kB / 449.7 MB, free: 99.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.3116, allocations: 28.58 kB / 449.7 MB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.3116, allocations: 8.391 kB / 449.7 MB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.3117, allocations: 19.45 kB / 449.7 MB, free: 99.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.3117, allocations: 9.031 kB / 449.7 MB, free: 99.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.421e-05/0.3118, allocations: 161.9 kB / 449.9 MB, free: 99.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3118, allocations: 3.875 kB / 449.9 MB, free: 99.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001629/0.3134, allocations: 0.8605 MB / 450.8 MB, free: 99 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.00203/0.3154, allocations: 1.162 MB / 451.9 MB, free: 98.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.3156, allocations: 165.3 kB / 452.1 MB, free: 98.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.3157, allocations: 3.625 kB / 452.1 MB, free: 98.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.3157, allocations: 100.1 kB / 452.2 MB, free: 98.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3161, allocations: 176.9 kB / 452.4 MB, free: 98.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/0.3171, allocations: 0.9321 MB / 453.3 MB, free: 98.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.068e-05/0.3171, allocations: 135.6 kB / 453.4 MB, free: 98.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.3173, allocations: 172.9 kB / 453.6 MB, free: 98.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.3175, allocations: 175.1 kB / 453.8 MB, free: 98.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.3175, allocations: 0 / 453.8 MB, free: 98.3 MB / 410.7 MB Notification: Performance of Templates: time 0.03249/0.35, allocations: 38.39 MB / 492.1 MB, free: 66.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.425762328784913]