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.001059/0.001059, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001003/0.001003, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9864/0.9864, allocations: 177 MB / 204.8 MB, free: 5.59 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.2523/0.2523, allocations: 34.87 MB / 296.3 MB, free: 0.543 MB / 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.172e-06/1.172e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.109e-05, allocations: 8.359 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01368/0.0137, allocations: 14.55 MB / 393.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.02489, allocations: 12.74 MB / 406.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.02518, allocations: 11.88 kB / 406.1 MB, free: 6.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000525/0.0257, allocations: 139 kB / 406.2 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005247/0.02623, allocations: 294.1 kB / 406.5 MB, free: 6.258 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.03762, allocations: 5.56 MB / 412.1 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008732/0.0385, allocations: 0.8731 MB / 412.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003068/0.0388, allocations: 213.2 kB / 413.1 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.04182, allocations: 2.22 MB / 415.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.04206, allocations: 215.4 kB / 415.6 MB, free: 13.13 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.0421, allocations: 32 kB / 415.6 MB, free: 13.1 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007394/0.04949, allocations: 5.927 MB / 421.5 MB, free: 7.168 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.0496, allocations: 95.66 kB / 421.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.04973, allocations: 139.7 kB / 421.8 MB, free: 6.938 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005283/0.05502, allocations: 4.56 MB / 426.3 MB, free: 2.367 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.05502, allocations: 0 / 426.3 MB, free: 2.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.05502, allocations: 0 / 426.3 MB, free: 2.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.05503, allocations: 0 / 426.3 MB, free: 2.367 MB / 394.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.001481/0.05651, allocations: 1.054 MB / 427.4 MB, free: 1.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.05655, allocations: 12.03 kB / 427.4 MB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009129/0.05746, allocations: 259.9 kB / 427.6 MB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.05779, allocations: 303.4 kB / 427.9 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.05781, allocations: 32.95 kB / 428 MB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.05784, allocations: 24.38 kB / 428 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007283/0.05857, allocations: 0.6161 MB / 428.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.05858, allocations: 4.188 kB / 428.6 MB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.05861, allocations: 19.88 kB / 428.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.05862, allocations: 4 kB / 428.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.05911, allocations: 301.5 kB / 428.9 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.06095, allocations: 2.222 MB / 431.1 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/0.06152, allocations: 270.8 kB / 431.4 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.06159, allocations: 43.67 kB / 431.5 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01535/0.07695, allocations: 8.867 MB / 440.3 MB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.07698, allocations: 41.39 kB / 440.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.07698, allocations: 0 / 440.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008521/0.07783, allocations: 408.7 kB / 440.8 MB, free: 3.633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.07787, allocations: 106.8 kB / 440.9 MB, free: 3.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.07808, allocations: 318.2 kB / 441.2 MB, free: 3.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.0781, allocations: 33.7 kB / 441.2 MB, free: 3.141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.07821, allocations: 262.7 kB / 441.5 MB, free: 2.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.07825, allocations: 59.52 kB / 441.5 MB, free: 2.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.07832, allocations: 67.34 kB / 441.6 MB, free: 2.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.07843, allocations: 0.5078 MB / 442.1 MB, free: 2.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.07851, allocations: 47.95 kB / 442.1 MB, free: 2.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.07866, allocations: 278.1 kB / 442.4 MB, free: 1.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.07887, allocations: 265 kB / 442.7 MB, free: 1.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.07887, allocations: 4 kB / 442.7 MB, free: 1.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000294/0.07917, allocations: 261 kB / 442.9 MB, free: 1.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.07918, allocations: 8 kB / 442.9 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.07919, allocations: 4.469 kB / 442.9 MB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.07921, allocations: 8 kB / 442.9 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.07935, allocations: 63.91 kB / 443 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.07936, allocations: 7.984 kB / 443 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.07947, allocations: 35.72 kB / 443.1 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.07948, allocations: 12 kB / 443.1 MB, free: 1.094 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 0.0001003/0.07958, allocations: 180.4 kB / 443.2 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.07962, allocations: 31.86 kB / 443.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.08024, allocations: 0.7578 MB / 444 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.08026, allocations: 15.97 kB / 444 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.08026, allocations: 0 / 444 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.08027, allocations: 0 / 444 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1621/0.2424, allocations: 482 kB / 444.5 MB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2424, allocations: 0 / 444.5 MB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.2425, allocations: 33.56 kB / 444.6 MB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.2425, allocations: 1.562 kB / 444.6 MB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.2425, allocations: 5.625 kB / 444.6 MB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2426, allocations: 3.125 kB / 444.6 MB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2426, allocations: 3.844 kB / 444.6 MB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.243, allocations: 0.5181 MB / 445.1 MB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.243, allocations: 55.48 kB / 445.1 MB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.2431, allocations: 25.05 kB / 445.2 MB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2432, allocations: 12.47 kB / 445.2 MB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.2432, allocations: 25.88 kB / 445.2 MB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2433, allocations: 2.938 kB / 445.2 MB, free: 75.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.2434, allocations: 311.3 kB / 445.5 MB, free: 75.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2434, allocations: 0 / 445.5 MB, free: 75.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001973/0.2454, allocations: 0.8589 MB / 446.4 MB, free: 75.14 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.002375/0.2478, allocations: 1.099 MB / 447.5 MB, free: 75.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.2481, allocations: 207.5 kB / 447.7 MB, free: 75.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2481, allocations: 0 / 447.7 MB, free: 75.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2482, allocations: 128.9 kB / 447.8 MB, free: 75.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.2487, allocations: 167.1 kB / 448 MB, free: 75.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.2499, allocations: 0.9313 MB / 448.9 MB, free: 74.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.813e-05/0.25, allocations: 137.1 kB / 449 MB, free: 74.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.2502, allocations: 186.1 kB / 449.2 MB, free: 74.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.2502, allocations: 37.77 kB / 449.2 MB, free: 74.49 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.2502, allocations: 0 / 449.2 MB, free: 74.49 MB / 410.7 MB Notification: Performance of Templates: time 0.03473/0.2849, allocations: 34.55 MB / 483.8 MB, free: 69.05 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 -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.784610878676176]