Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 172.5 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3368/0.3368, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.808e-05, allocations: 5.406 kB / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01424/0.01426, allocations: 14.39 MB / 390.9 MB, free: 5.945 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.02529, allocations: 12.53 MB / 403.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.02549, allocations: 11.88 kB / 403.4 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.02593, allocations: 134.9 kB / 403.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.02638, allocations: 294.1 kB / 403.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009316/0.03569, allocations: 5.562 MB / 409.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006358/0.03633, allocations: 0.8731 MB / 410.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.0366, allocations: 217.3 kB / 410.5 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.03911, allocations: 2.209 MB / 412.7 MB, free: 20 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.03933, allocations: 219.3 kB / 412.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.03936, allocations: 32 kB / 412.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007009/0.04637, allocations: 5.935 MB / 418.9 MB, free: 9.832 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.04649, allocations: 95.66 kB / 419 MB, free: 9.738 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.04661, allocations: 135.7 kB / 419.1 MB, free: 9.605 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004854/0.05146, allocations: 4.556 MB / 423.6 MB, free: 5.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.05147, allocations: 0 / 423.6 MB, free: 5.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.05147, allocations: 0 / 423.6 MB, free: 5.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.05147, allocations: 3.938 kB / 423.7 MB, free: 5.035 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.001224/0.0527, allocations: 1.05 MB / 424.7 MB, free: 3.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.05274, allocations: 12.02 kB / 424.7 MB, free: 3.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008688/0.05361, allocations: 267.8 kB / 425 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.05393, allocations: 303.4 kB / 425.3 MB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.05395, allocations: 21.03 kB / 425.3 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.05398, allocations: 32.38 kB / 425.3 MB, free: 3.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.05464, allocations: 0.6043 MB / 425.9 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.05464, allocations: 192 / 425.9 MB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.05467, allocations: 15.94 kB / 425.9 MB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.05468, allocations: 16 kB / 426 MB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.05508, allocations: 263 kB / 426.2 MB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.05698, allocations: 2.159 MB / 428.4 MB, free: 68 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.05752, allocations: 262.8 kB / 428.6 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.05756, allocations: 35.67 kB / 428.7 MB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01283/0.07039, allocations: 7.817 MB / 436.5 MB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.07042, allocations: 41.39 kB / 436.5 MB, free: 7.879 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/0.07042, allocations: 3.984 kB / 436.5 MB, free: 7.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007502/0.07117, allocations: 399 kB / 436.9 MB, free: 7.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.07123, allocations: 102.8 kB / 437 MB, free: 7.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.07141, allocations: 322.1 kB / 437.3 MB, free: 7.031 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.07143, allocations: 33.7 kB / 437.4 MB, free: 6.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.07155, allocations: 266.5 kB / 437.6 MB, free: 6.727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.07158, allocations: 51.58 kB / 437.7 MB, free: 6.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.07164, allocations: 67.34 kB / 437.7 MB, free: 6.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.07177, allocations: 0.5156 MB / 438.3 MB, free: 6.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.07182, allocations: 39.94 kB / 438.3 MB, free: 6.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.07196, allocations: 262.1 kB / 438.6 MB, free: 5.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.07215, allocations: 258.6 kB / 438.8 MB, free: 5.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.07215, allocations: 4 kB / 438.8 MB, free: 5.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002598/0.07241, allocations: 260.3 kB / 439.1 MB, free: 5.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.07243, allocations: 4 kB / 439.1 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.07244, allocations: 4 kB / 439.1 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.07245, allocations: 4 kB / 439.1 MB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.07258, allocations: 67.89 kB / 439.1 MB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.07259, allocations: 8 kB / 439.2 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.07268, allocations: 35.72 kB / 439.2 MB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.0727, allocations: 15.98 kB / 439.2 MB, free: 4.973 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.0001022/0.0728, allocations: 172.5 kB / 439.4 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.07284, allocations: 31.86 kB / 439.4 MB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005601/0.0734, allocations: 0.6991 MB / 440.1 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.07341, allocations: 19.91 kB / 440.1 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.07341, allocations: 0 / 440.1 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.07342, allocations: 0 / 440.1 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.07372, allocations: 420.1 kB / 440.5 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.07372, allocations: 4 kB / 440.5 MB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.0738, allocations: 35.97 kB / 440.6 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.0738, allocations: 0 / 440.6 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.07381, allocations: 8 kB / 440.6 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.07381, allocations: 0 / 440.6 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.07382, allocations: 3.984 kB / 440.6 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.07416, allocations: 499.2 kB / 441.1 MB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.07419, allocations: 55.48 kB / 441.1 MB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.07423, allocations: 31.77 kB / 441.2 MB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.282e-05/0.07431, allocations: 12 kB / 441.2 MB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.07436, allocations: 19.95 kB / 441.2 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.07437, allocations: 8 kB / 441.2 MB, free: 2.914 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.07452, allocations: 291 kB / 441.5 MB, free: 2.629 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07452, allocations: 0 / 441.5 MB, free: 2.629 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001761/0.07628, allocations: 0.85 MB / 442.3 MB, free: 1.777 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.002186/0.07847, allocations: 1.138 MB / 443.5 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.07869, allocations: 183.9 kB / 443.6 MB, free: 456 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.0787, allocations: 0 / 443.6 MB, free: 456 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.0788, allocations: 113.5 kB / 443.8 MB, free: 340 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.07929, allocations: 163.8 kB / 443.9 MB, free: 184 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1549/0.2342, allocations: 0.9146 MB / 444.8 MB, free: 77.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.337e-05/0.2343, allocations: 136.6 kB / 445 MB, free: 77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002739/0.2346, allocations: 168.8 kB / 445.1 MB, free: 77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.2348, allocations: 213.6 kB / 445.3 MB, free: 76.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2348, allocations: 0 / 445.3 MB, free: 76.93 MB / 410.7 MB Notification: Performance of Templates: time 0.03594/0.2708, allocations: 39.2 MB / 484.5 MB, free: 69.47 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.693869868759066]