Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001576/0.001576, 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.001365/0.001365, allocations: 172.2 kB / 24.82 MB, free: 9.312 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.152/1.152, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4057/0.4057, allocations: 34.27 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.73e-05/5.002e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01946/0.01951, allocations: 14.4 MB / 392.9 MB, free: 3.934 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.03363, allocations: 12.53 MB / 405.4 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.03411, allocations: 15.88 kB / 405.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.03472, allocations: 127.1 kB / 405.6 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007314/0.03545, allocations: 298 kB / 405.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0184/0.05385, allocations: 5.558 MB / 411.4 MB, free: 1.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.0554, allocations: 0.8692 MB / 412.3 MB, free: 476 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004943/0.0559, allocations: 209.3 kB / 412.5 MB, free: 264 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004896/0.06079, allocations: 2.228 MB / 414.7 MB, free: 14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.06119, allocations: 215.4 kB / 414.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.06124, allocations: 28 kB / 415 MB, free: 13.76 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01171/0.07295, allocations: 5.927 MB / 420.9 MB, free: 7.828 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.07316, allocations: 91.66 kB / 421 MB, free: 7.738 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.0735, allocations: 139.7 kB / 421.1 MB, free: 7.602 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.08711, allocations: 4.556 MB / 425.7 MB, free: 3.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.08712, allocations: 3.938 kB / 425.7 MB, free: 3.031 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08712, allocations: 4 kB / 425.7 MB, free: 3.027 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.08713, allocations: 4 kB / 425.7 MB, free: 3.023 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.003339/0.09047, allocations: 1.047 MB / 426.7 MB, free: 1.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.841e-05/0.09054, allocations: 12.03 kB / 426.7 MB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.09163, allocations: 263.8 kB / 427 MB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.09206, allocations: 311.3 kB / 427.3 MB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.09209, allocations: 21.03 kB / 427.3 MB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.09213, allocations: 28.36 kB / 427.4 MB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.09318, allocations: 0.6156 MB / 428 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.09319, allocations: 192 / 428 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.09322, allocations: 15.94 kB / 428 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.09323, allocations: 8 kB / 428 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/0.09369, allocations: 259.1 kB / 428.2 MB, free: 316 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.0957, allocations: 2.159 MB / 430.4 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.09629, allocations: 266.7 kB / 430.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.09635, allocations: 43.64 kB / 430.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/0.1114, allocations: 7.817 MB / 438.5 MB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.1114, allocations: 41.38 kB / 438.6 MB, free: 5.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.707e-06/0.1114, allocations: 4 kB / 438.6 MB, free: 5.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.001105/0.1125, allocations: 388.4 kB / 438.9 MB, free: 5.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.1126, allocations: 110.8 kB / 439.1 MB, free: 5.348 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1129, allocations: 314.1 kB / 439.4 MB, free: 5.027 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1129, allocations: 25.7 kB / 439.4 MB, free: 4.996 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1131, allocations: 274.5 kB / 439.7 MB, free: 4.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.1131, allocations: 55.52 kB / 439.7 MB, free: 4.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.1132, allocations: 67.31 kB / 439.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1134, allocations: 0.5195 MB / 440.3 MB, free: 4.062 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.1134, allocations: 35.95 kB / 440.3 MB, free: 4.027 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.1136, allocations: 262.2 kB / 440.6 MB, free: 3.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.1139, allocations: 261.5 kB / 440.8 MB, free: 3.363 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1139, allocations: 0 / 440.8 MB, free: 3.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003114/0.1142, allocations: 253 kB / 441.1 MB, free: 3.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1142, allocations: 8 kB / 441.1 MB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1142, allocations: 4 kB / 441.1 MB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1142, allocations: 4 kB / 441.1 MB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.1144, allocations: 63.91 kB / 441.2 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1144, allocations: 7.938 kB / 441.2 MB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.1145, allocations: 44.14 kB / 441.2 MB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1145, allocations: 12 kB / 441.2 MB, free: 2.969 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.0001431/0.1147, allocations: 172.5 kB / 441.4 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.77e-05/0.1147, allocations: 27.86 kB / 441.4 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009582/0.1157, allocations: 0.703 MB / 442.1 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.1157, allocations: 11.98 kB / 442.1 MB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.1157, allocations: 8 kB / 442.1 MB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.1157, allocations: 7.969 kB / 442.2 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.1161, allocations: 416.1 kB / 442.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.1161, allocations: 0 / 442.6 MB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.1162, allocations: 35.91 kB / 442.6 MB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.1162, allocations: 8 kB / 442.6 MB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1162, allocations: 4 kB / 442.6 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1162, allocations: 0 / 442.6 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1162, allocations: 0 / 442.6 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.1167, allocations: 0.4965 MB / 443.1 MB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.1167, allocations: 51.48 kB / 443.2 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.1168, allocations: 27.78 kB / 443.2 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.1169, allocations: 4 kB / 443.2 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.1169, allocations: 27.89 kB / 443.2 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1169, allocations: 8 kB / 443.2 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1171, allocations: 291 kB / 443.5 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1171, allocations: 0 / 443.5 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.2404/0.3575, allocations: 0.8575 MB / 444.4 MB, free: 75.83 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.003534/0.361, allocations: 1.121 MB / 445.5 MB, free: 75.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.3614, allocations: 176.6 kB / 445.7 MB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3614, allocations: 0 / 445.7 MB, free: 75.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.3615, allocations: 112.5 kB / 445.8 MB, free: 75.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.3621, allocations: 173.1 kB / 445.9 MB, free: 75.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3635, allocations: 0.9175 MB / 446.9 MB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.853e-05/0.3636, allocations: 138.4 kB / 447 MB, free: 75.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.3638, allocations: 175.5 kB / 447.2 MB, free: 75.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.3641, allocations: 206.8 kB / 447.4 MB, free: 75.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.3641, allocations: 0 / 447.4 MB, free: 75.16 MB / 410.7 MB Notification: Performance of Templates: time 0.05316/0.4172, allocations: 39.2 MB / 486.6 MB, free: 67.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 5.429022665135562]