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.001717/0.001717, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001012/0.001012, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9018/0.9018, allocations: 177 MB / 205.2 MB, free: 5.523 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.244/0.244, allocations: 34.87 MB / 296.6 MB, free: 0.5273 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.233e-06/1.233e-06, allocations: 0 / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.432e-05/3.556e-05, allocations: 6.25 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02292/0.02296, allocations: 30.85 MB / 409.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.03673, allocations: 17.5 MB / 427.1 MB, free: 1.902 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.03698, allocations: 15.81 kB / 427.1 MB, free: 1.887 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.0375, allocations: 210.5 kB / 427.3 MB, free: 1.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.03796, allocations: 294.1 kB / 427.6 MB, free: 1.391 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01137/0.04933, allocations: 6.072 MB / 433.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.05005, allocations: 0.8496 MB / 434.5 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.05033, allocations: 197.1 kB / 434.7 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007017/0.05735, allocations: 5.61 MB / 440.3 MB, free: 4.551 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.0576, allocations: 223.3 kB / 440.6 MB, free: 4.332 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.05764, allocations: 32 kB / 440.6 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.166/0.2236, allocations: 6.054 MB / 446.6 MB, free: 56.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.2238, allocations: 96.8 kB / 446.7 MB, free: 56.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.224, allocations: 141.8 kB / 446.9 MB, free: 56.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007876/0.2319, allocations: 4.697 MB / 451.6 MB, free: 56.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2319, allocations: 0 / 451.6 MB, free: 56.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2319, allocations: 3.656 kB / 451.6 MB, free: 56.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.2319, allocations: 4 kB / 451.6 MB, free: 56.88 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.002124/0.234, allocations: 1.081 MB / 452.7 MB, free: 56.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2341, allocations: 10.12 kB / 452.7 MB, free: 56.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009976/0.2351, allocations: 277 kB / 452.9 MB, free: 56.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.2355, allocations: 301.3 kB / 453.2 MB, free: 55.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.2355, allocations: 22.97 kB / 453.3 MB, free: 55.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.2355, allocations: 28.53 kB / 453.3 MB, free: 55.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000713/0.2362, allocations: 0.6184 MB / 453.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2363, allocations: 1.688 kB / 453.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.2363, allocations: 17.59 kB / 453.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.2363, allocations: 10.69 kB / 453.9 MB, free: 55.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004759/0.2368, allocations: 291.1 kB / 454.2 MB, free: 55.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.2382, allocations: 2.235 MB / 456.4 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.2388, allocations: 272.9 kB / 456.7 MB, free: 53.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.2388, allocations: 43.17 kB / 456.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01423/0.2531, allocations: 8.86 MB / 465.6 MB, free: 53.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.2531, allocations: 45.11 kB / 465.7 MB, free: 53.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.274e-06/0.2531, allocations: 0 / 465.7 MB, free: 53.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001036/0.2542, allocations: 401.8 kB / 466.1 MB, free: 53.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.2542, allocations: 106.1 kB / 466.2 MB, free: 53.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.2544, allocations: 324.6 kB / 466.5 MB, free: 52.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2544, allocations: 33.02 kB / 466.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.2545, allocations: 265.2 kB / 466.8 MB, free: 52.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.2545, allocations: 54.44 kB / 466.8 MB, free: 52.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.2546, allocations: 67.67 kB / 466.9 MB, free: 52.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.2547, allocations: 0.5142 MB / 467.4 MB, free: 52.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.2548, allocations: 50.73 kB / 467.4 MB, free: 52.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.2549, allocations: 263 kB / 467.7 MB, free: 51.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.2551, allocations: 266.5 kB / 468 MB, free: 51.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.2551, allocations: 0 / 468 MB, free: 51.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002821/0.2554, allocations: 266.7 kB / 468.2 MB, free: 51.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2554, allocations: 6.594 kB / 468.2 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2554, allocations: 3.688 kB / 468.2 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2554, allocations: 5.875 kB / 468.2 MB, free: 51.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2555, allocations: 70.84 kB / 468.3 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2556, allocations: 8.609 kB / 468.3 MB, free: 51.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2557, allocations: 38.58 kB / 468.4 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.2557, allocations: 19.97 kB / 468.4 MB, free: 51.64 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.962e-05/0.2558, allocations: 171.8 kB / 468.5 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.2558, allocations: 31.61 kB / 468.6 MB, free: 51.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005687/0.2564, allocations: 0.757 MB / 469.3 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.2564, allocations: 10.12 kB / 469.3 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2564, allocations: 6.656 kB / 469.3 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2564, allocations: 0 / 469.3 MB, free: 51.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.2568, allocations: 483.7 kB / 469.8 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2568, allocations: 3.438 kB / 469.8 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.2569, allocations: 34.09 kB / 469.9 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2569, allocations: 4 kB / 469.9 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2569, allocations: 6.906 kB / 469.9 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2569, allocations: 0 / 469.9 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2569, allocations: 1.422 kB / 469.9 MB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.2573, allocations: 0.5197 MB / 470.4 MB, free: 50.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.2573, allocations: 51.2 kB / 470.4 MB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.2573, allocations: 26.3 kB / 470.5 MB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.2574, allocations: 9.781 kB / 470.5 MB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.2575, allocations: 23.16 kB / 470.5 MB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2575, allocations: 13.62 kB / 470.5 MB, free: 50.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.2577, allocations: 303.3 kB / 470.8 MB, free: 50.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2577, allocations: 2.875 kB / 470.8 MB, free: 50.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002462/0.2601, allocations: 0.8636 MB / 471.7 MB, free: 50.55 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.003432/0.2636, allocations: 1.117 MB / 472.8 MB, free: 50.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.264, allocations: 205 kB / 473 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.264, allocations: 2.625 kB / 473 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.2641, allocations: 131.3 kB / 473.1 MB, free: 50.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005949/0.2647, allocations: 164.1 kB / 473.3 MB, free: 50.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.2662, allocations: 0.9387 MB / 474.2 MB, free: 49.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.2664, allocations: 141.9 kB / 474.4 MB, free: 49.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.2666, allocations: 176.2 kB / 474.5 MB, free: 49.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.2667, allocations: 29.72 kB / 474.6 MB, free: 49.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.064e-06/0.2667, allocations: 0 / 474.6 MB, free: 49.75 MB / 410.7 MB Notification: Performance of Templates: time 0.04046/0.3072, allocations: 34.77 MB / 0.4974 GB, free: 38.55 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.731560647021979]