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.001758/0.001758, allocations: 107 kB / 19.8 MB, free: 2.5 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.002072/0.002072, allocations: 217.3 kB / 23 MB, free: 5.57 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.536/1.536, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2455/0.2455, allocations: 46.91 MB / 359.4 MB, free: 4.836 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.002276/0.002276, allocations: 75.88 kB / 0.4946 GB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4368, allocations: 65.99 MB / 0.5591 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03754/0.4743, allocations: 30.64 MB / 0.589 GB, free: 6.297 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02422/0.4985, allocations: 17.78 MB / 0.6064 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005066/0.499, allocations: 11.94 kB / 0.6064 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009474/0.5, allocations: 218.6 kB / 0.6066 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007626/0.5007, allocations: 274.4 kB / 0.6068 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02034/0.5211, allocations: 6.078 MB / 0.6128 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.5227, allocations: 0.8459 MB / 0.6136 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.5231, allocations: 196.8 kB / 0.6138 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/0.5375, allocations: 5.481 MB / 0.6191 GB, free: 7.285 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007002/0.5382, allocations: 254.9 kB / 0.6194 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.5383, allocations: 28 kB / 0.6194 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0158/0.5541, allocations: 6.349 MB / 0.6256 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.5544, allocations: 91.72 kB / 0.6257 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004707/0.5548, allocations: 191.1 kB / 0.6259 GB, free: 384 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.5679, allocations: 3.854 MB / 0.6296 GB, free: 12.51 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.5679, allocations: 3.938 kB / 0.6297 GB, free: 12.51 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5679, allocations: 4 kB / 0.6297 GB, free: 12.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.5679, allocations: 0 / 0.6297 GB, free: 12.5 MB / 478.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.003198/0.5711, allocations: 1.08 MB / 0.6307 GB, free: 11.37 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5712, allocations: 8.031 kB / 0.6307 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.5729, allocations: 200.5 kB / 0.6309 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.5735, allocations: 362.6 kB / 0.6313 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.5736, allocations: 24.94 kB / 0.6313 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.5736, allocations: 24.38 kB / 0.6313 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.575, allocations: 490.8 kB / 0.6318 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.575, allocations: 3.938 kB / 0.6318 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.451e-05/0.5751, allocations: 19.98 kB / 0.6318 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.5751, allocations: 8 kB / 0.6318 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.5763, allocations: 401.3 kB / 0.6322 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.5803, allocations: 2.427 MB / 0.6346 GB, free: 7.145 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.5815, allocations: 318.3 kB / 0.6349 GB, free: 6.824 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.5818, allocations: 100.8 kB / 0.635 GB, free: 6.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0395/0.6213, allocations: 18.38 MB / 0.6529 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.6214, allocations: 30.56 kB / 0.6529 GB, free: 1.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 4.809e-06/0.6214, allocations: 3.938 kB / 0.6529 GB, free: 1.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002238/0.6236, allocations: 0.5321 MB / 0.6534 GB, free: 1.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.6237, allocations: 110.8 kB / 0.6536 GB, free: 1.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.6242, allocations: 320.5 kB / 0.6539 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.6242, allocations: 33.64 kB / 0.6539 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.6244, allocations: 208 kB / 0.6541 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.6245, allocations: 55.52 kB / 0.6541 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.6246, allocations: 69.64 kB / 0.6542 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.6248, allocations: 338.8 kB / 0.6545 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.6251, allocations: 95.92 kB / 0.6546 GB, free: 132 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.6255, allocations: 215.3 kB / 0.6548 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006232/0.6261, allocations: 288.2 kB / 0.6551 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6261, allocations: 0 / 0.6551 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008143/0.6269, allocations: 349.3 kB / 0.6554 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.627, allocations: 10.34 kB / 0.6554 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.627, allocations: 4 kB / 0.6555 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.627, allocations: 7.938 kB / 0.6555 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.6273, allocations: 67.89 kB / 0.6555 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.6273, allocations: 11.98 kB / 0.6555 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.6276, allocations: 43.77 kB / 0.6556 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.6276, allocations: 16.09 kB / 0.6556 GB, free: 15.03 MB / 0.4981 GB 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.000204/0.6278, allocations: 161.7 kB / 0.6557 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.6279, allocations: 31.77 kB / 0.6558 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.6295, allocations: 1.116 MB / 0.6569 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.6295, allocations: 11.98 kB / 0.6569 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6295, allocations: 0 / 0.6569 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6295, allocations: 0 / 0.6569 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008157/0.6303, allocations: 0.6641 MB / 0.6575 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6304, allocations: 0 / 0.6575 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.6306, allocations: 47.94 kB / 0.6576 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6306, allocations: 4 kB / 0.6576 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.6306, allocations: 7.938 kB / 0.6576 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.6306, allocations: 7.938 kB / 0.6576 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.6306, allocations: 0 / 0.6576 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009989/0.6316, allocations: 0.6312 MB / 0.6582 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.6317, allocations: 128.6 kB / 0.6583 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.6318, allocations: 35.7 kB / 0.6584 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.632, allocations: 15.98 kB / 0.6584 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.6321, allocations: 19.97 kB / 0.6584 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.6321, allocations: 8 kB / 0.6584 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004227/0.6325, allocations: 338.9 kB / 0.6587 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6325, allocations: 0 / 0.6587 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002808/0.6353, allocations: 0.8655 MB / 0.6596 GB, free: 10.84 MB / 0.4981 GB 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.003933/0.6393, allocations: 1.019 MB / 0.6606 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009235/0.6402, allocations: 333.2 kB / 0.6609 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.6402, allocations: 0 / 0.6609 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.6406, allocations: 208.5 kB / 0.6611 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6416, allocations: 184.2 kB / 0.6613 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.6433, allocations: 1.043 MB / 0.6623 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.6439, allocations: 0.8758 MB / 0.6631 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003732/0.6442, allocations: 185.2 kB / 0.6633 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.6443, allocations: 35.44 kB / 0.6633 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.6443, allocations: 0 / 0.6633 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.05351/0.6978, allocations: 34.88 MB / 0.6974 GB, free: 4.074 MB / 0.5294 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.0.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.031666609458625]