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.001707/0.001707, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002046/0.002046, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.554/1.554, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2623/0.2623, allocations: 46.96 MB / 360.8 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002451/0.002451, allocations: 75.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4458, allocations: 66.08 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03759/0.4834, allocations: 27.71 MB / 0.5882 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02639/0.5098, allocations: 15.68 MB / 0.6035 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006901/0.5104, allocations: 11.88 kB / 0.6036 GB, free: 8.422 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.5116, allocations: 206.7 kB / 0.6038 GB, free: 8.219 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.5129, allocations: 282.3 kB / 0.604 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0245/0.5374, allocations: 5.999 MB / 0.6099 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00156/0.5389, allocations: 0.8498 MB / 0.6107 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004412/0.5394, allocations: 201 kB / 0.6109 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.5521, allocations: 5.486 MB / 0.6163 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009217/0.553, allocations: 239 kB / 0.6165 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.5531, allocations: 28 kB / 0.6165 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01496/0.5681, allocations: 6.052 MB / 0.6224 GB, free: 5 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.5684, allocations: 95.67 kB / 0.6225 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000372/0.5687, allocations: 175.2 kB / 0.6227 GB, free: 4.734 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.581, allocations: 3.847 MB / 0.6264 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.581, allocations: 0 / 0.6264 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.581, allocations: 0 / 0.6264 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.581, allocations: 0 / 0.6264 GB, free: 0.8789 MB / 462.1 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.003296/0.5843, allocations: 1.001 MB / 0.6274 GB, free: 15.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5844, allocations: 12.02 kB / 0.6274 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.5861, allocations: 212.5 kB / 0.6276 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.5867, allocations: 284.9 kB / 0.6279 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.5867, allocations: 25.03 kB / 0.6279 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.5868, allocations: 24.38 kB / 0.628 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5882, allocations: 0.6272 MB / 0.6286 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.5882, allocations: 4 kB / 0.6286 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.5883, allocations: 12 kB / 0.6286 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5883, allocations: 4 kB / 0.6286 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.5894, allocations: 413.2 kB / 0.629 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.5926, allocations: 1.77 MB / 0.6307 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.5938, allocations: 314.2 kB / 0.631 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.5941, allocations: 108.8 kB / 0.6311 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03212/0.6262, allocations: 8.866 MB / 0.6398 GB, free: 3.008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.838e-05/0.6263, allocations: 34.56 kB / 0.6398 GB, free: 2.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.926e-06/0.6263, allocations: 0 / 0.6398 GB, free: 2.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002227/0.6285, allocations: 0.5217 MB / 0.6403 GB, free: 2.438 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.6286, allocations: 106.8 kB / 0.6404 GB, free: 2.309 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.629, allocations: 284.1 kB / 0.6407 GB, free: 2.02 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.6291, allocations: 33.64 kB / 0.6407 GB, free: 1.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.6293, allocations: 211.9 kB / 0.6409 GB, free: 1.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.6293, allocations: 55.58 kB / 0.641 GB, free: 1.715 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.6295, allocations: 61.7 kB / 0.641 GB, free: 1.648 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.6296, allocations: 330.8 kB / 0.6413 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.6299, allocations: 95.92 kB / 0.6414 GB, free: 1.223 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.6304, allocations: 266.8 kB / 0.6417 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006904/0.6311, allocations: 300.3 kB / 0.642 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6311, allocations: 0 / 0.642 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008443/0.6319, allocations: 333 kB / 0.6423 GB, free: 228 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.6319, allocations: 8 kB / 0.6423 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6319, allocations: 4 kB / 0.6423 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.632, allocations: 4 kB / 0.6423 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.6323, allocations: 80.23 kB / 0.6424 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.6323, allocations: 19.92 kB / 0.6424 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.6326, allocations: 39.77 kB / 0.6424 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.6326, allocations: 16 kB / 0.6425 GB, free: 56 kB / 478.1 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.0002452/0.6328, allocations: 153.7 kB / 0.6426 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.6329, allocations: 27.86 kB / 0.6426 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.6346, allocations: 1.159 MB / 0.6438 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.6346, allocations: 19.91 kB / 0.6438 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6346, allocations: 0 / 0.6438 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6346, allocations: 0 / 0.6438 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.6354, allocations: 0.5545 MB / 0.6443 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.6354, allocations: 0 / 0.6443 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.6356, allocations: 55.89 kB / 0.6444 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.6356, allocations: 0 / 0.6444 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.6357, allocations: 4 kB / 0.6444 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.6357, allocations: 0 / 0.6444 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6357, allocations: 3.938 kB / 0.6444 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009821/0.6366, allocations: 0.6352 MB / 0.645 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6367, allocations: 47.53 kB / 0.6451 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/0.6368, allocations: 31.73 kB / 0.6451 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.637, allocations: 19.97 kB / 0.6451 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/0.6371, allocations: 27.84 kB / 0.6451 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.6371, allocations: 11.98 kB / 0.6451 GB, free: 13.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003803/0.6375, allocations: 303.1 kB / 0.6454 GB, free: 12.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6375, allocations: 0 / 0.6454 GB, free: 12.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002926/0.6404, allocations: 0.8577 MB / 0.6463 GB, free: 12.09 MB / 494.1 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.004861/0.6453, allocations: 1.001 MB / 0.6472 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.6463, allocations: 348.2 kB / 0.6476 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6463, allocations: 0 / 0.6476 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.6468, allocations: 220.1 kB / 0.6478 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6478, allocations: 138.1 kB / 0.6479 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.6498, allocations: 1.052 MB / 0.6489 GB, free: 9.312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.6501, allocations: 284.1 kB / 0.6492 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.6506, allocations: 178.7 kB / 0.6494 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.277e-05/0.6507, allocations: 35.42 kB / 0.6494 GB, free: 8.797 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.6507, allocations: 0 / 0.6494 GB, free: 8.797 MB / 494.1 MB Notification: Performance of Templates: time 0.05709/0.7078, allocations: 34.53 MB / 0.6831 GB, free: 6.355 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.199008040130138]