Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002333/0.002333, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002751/0.002751, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2381/0.2381, allocations: 32.38 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.725e-05/3.944e-05, allocations: 2.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04279/0.04283, allocations: 30.65 MB / 377.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03059/0.07342, allocations: 17.47 MB / 395.1 MB, free: 9.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007234/0.07415, allocations: 11.88 kB / 395.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.07526, allocations: 198.6 kB / 395.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.07627, allocations: 286.1 kB / 395.6 MB, free: 9.012 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02585/0.1021, allocations: 6.06 MB / 401.6 MB, free: 2.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001972/0.1041, allocations: 0.8341 MB / 402.4 MB, free: 2.094 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005522/0.1046, allocations: 209 kB / 402.6 MB, free: 1.883 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0161/0.1207, allocations: 5.587 MB / 408.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/0.1217, allocations: 211.4 kB / 408.4 MB, free: 12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1218, allocations: 31.94 kB / 408.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01679/0.1386, allocations: 6.067 MB / 414.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.1389, allocations: 99.67 kB / 414.6 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.1393, allocations: 131.7 kB / 414.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.1569, allocations: 4.833 MB / 419.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.1569, allocations: 4 kB / 419.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1569, allocations: 0 / 419.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1569, allocations: 0 / 419.6 MB, free: 0.8242 MB / 346.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.004457/0.1614, allocations: 1.089 MB / 420.7 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.461e-05/0.1614, allocations: 16.03 kB / 420.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.1632, allocations: 259.8 kB / 421 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.1638, allocations: 299.3 kB / 421.3 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.1639, allocations: 29.03 kB / 421.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.164, allocations: 28.38 kB / 421.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1654, allocations: 0.631 MB / 421.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1654, allocations: 8.125 kB / 421.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.1655, allocations: 15.94 kB / 422 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1655, allocations: 4 kB / 422 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.1666, allocations: 369.6 kB / 422.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004788/0.1714, allocations: 2.34 MB / 424.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.1726, allocations: 298.8 kB / 425 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.1729, allocations: 91.64 kB / 425.1 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03365/0.2065, allocations: 8.492 MB / 433.5 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.472e-05/0.2066, allocations: 41.39 kB / 433.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.364e-06/0.2066, allocations: 0 / 433.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002117/0.2087, allocations: 496.8 kB / 434.1 MB, free: 2.078 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.2089, allocations: 106.8 kB / 434.2 MB, free: 1.949 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.2094, allocations: 366.2 kB / 434.5 MB, free: 1.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.2094, allocations: 37.64 kB / 434.6 MB, free: 1.531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.2098, allocations: 278.6 kB / 434.8 MB, free: 1.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.2098, allocations: 47.64 kB / 434.9 MB, free: 1.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.21, allocations: 83.3 kB / 435 MB, free: 1.117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003846/0.2104, allocations: 0.5235 MB / 435.5 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.2106, allocations: 71.95 kB / 435.6 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/0.2111, allocations: 309.6 kB / 435.9 MB, free: 124 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3062/0.5172, allocations: 311.3 kB / 436.2 MB, free: 97.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.5172, allocations: 1.812 kB / 436.2 MB, free: 97.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001064/0.5183, allocations: 311.3 kB / 436.5 MB, free: 97.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.5183, allocations: 7.234 kB / 436.5 MB, free: 97.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5184, allocations: 7.375 kB / 436.5 MB, free: 97.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.5184, allocations: 5.25 kB / 436.5 MB, free: 97.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.5187, allocations: 63.41 kB / 436.6 MB, free: 97.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.5187, allocations: 6.922 kB / 436.6 MB, free: 97.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.519, allocations: 40.73 kB / 436.6 MB, free: 97.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.519, allocations: 14.92 kB / 436.6 MB, free: 97.05 MB / 362.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.0002697/0.5193, allocations: 199.6 kB / 436.8 MB, free: 96.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/0.5194, allocations: 32.8 kB / 436.8 MB, free: 96.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.5207, allocations: 0.7818 MB / 437.6 MB, free: 96.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.5207, allocations: 16 kB / 437.6 MB, free: 96.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5207, allocations: 1.594 kB / 437.6 MB, free: 96.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5207, allocations: 3.531 kB / 437.6 MB, free: 96.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.5214, allocations: 0.5068 MB / 438.2 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5214, allocations: 7 kB / 438.2 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.5216, allocations: 36.41 kB / 438.2 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.5216, allocations: 1.188 kB / 438.2 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.5216, allocations: 5.969 kB / 438.2 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5216, allocations: 1.5 kB / 438.2 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5216, allocations: 0 / 438.2 MB, free: 96.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/0.5225, allocations: 0.5662 MB / 438.8 MB, free: 96.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.5226, allocations: 53.47 kB / 438.8 MB, free: 96.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/0.5227, allocations: 31.58 kB / 438.9 MB, free: 96.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.5228, allocations: 5.625 kB / 438.9 MB, free: 96.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5229, allocations: 23.45 kB / 438.9 MB, free: 96.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.523, allocations: 11.59 kB / 438.9 MB, free: 96.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004254/0.5234, allocations: 353.7 kB / 439.2 MB, free: 96.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5234, allocations: 0 / 439.2 MB, free: 96.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004104/0.5275, allocations: 0.8539 MB / 440.1 MB, free: 96.03 MB / 362.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.005582/0.5331, allocations: 1.127 MB / 441.2 MB, free: 95.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000943/0.534, allocations: 263.9 kB / 441.5 MB, free: 95.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.534, allocations: 0.875 kB / 441.5 MB, free: 95.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.5343, allocations: 161.2 kB / 441.6 MB, free: 95.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5355, allocations: 184.8 kB / 441.8 MB, free: 95.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.5372, allocations: 0.9476 MB / 442.8 MB, free: 95.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.5376, allocations: 276.9 kB / 443 MB, free: 95.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.5381, allocations: 184.7 kB / 443.2 MB, free: 95.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.5382, allocations: 32.06 kB / 443.2 MB, free: 95.04 MB / 362.7 MB Notification: Performance of SimCode: time 2.895e-06/0.5382, allocations: 0 / 443.2 MB, free: 95.04 MB / 362.7 MB Notification: Performance of Templates: time 0.04455/0.5827, allocations: 34.68 MB / 477.9 MB, free: 61.68 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.951835384010337]