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.001752/0.001752, allocations: 113.9 kB / 19.12 MB, free: 3.945 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.001989/0.001989, allocations: 212.9 kB / 22.08 MB, free: 0.9922 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.563/1.563, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.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.2644/0.2644, allocations: 46.16 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] 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.002422/0.002423, allocations: 76.78 kB / 490.9 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1531, allocations: 62.45 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03952/0.1926, allocations: 30.23 MB / 0.5699 GB, free: 5.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02358/0.2163, allocations: 17.63 MB / 0.5871 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004426/0.2168, allocations: 15.88 kB / 0.5871 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.2177, allocations: 210.6 kB / 0.5873 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000723/0.2184, allocations: 278.4 kB / 0.5876 GB, free: 3.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01875/0.2372, allocations: 6.051 MB / 0.5935 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.2386, allocations: 0.8342 MB / 0.5943 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004654/0.2391, allocations: 248.7 kB / 0.5945 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01367/0.2527, allocations: 5.458 MB / 0.5998 GB, free: 7.078 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.2533, allocations: 239 kB / 0.6001 GB, free: 6.844 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.2534, allocations: 32 kB / 0.6001 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.2673, allocations: 6.326 MB / 0.6063 GB, free: 492 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.2676, allocations: 91.72 kB / 0.6064 GB, free: 400 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.2679, allocations: 195.1 kB / 0.6066 GB, free: 204 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3584/0.6263, allocations: 3.859 MB / 0.6103 GB, free: 15.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.6264, allocations: 0 / 0.6103 GB, free: 15.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6264, allocations: 1.062 kB / 0.6103 GB, free: 15.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.6264, allocations: 0 / 0.6103 GB, free: 15.83 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.005911/0.6323, allocations: 1.077 MB / 0.6114 GB, free: 15.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.6324, allocations: 10.17 kB / 0.6114 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.6343, allocations: 205.9 kB / 0.6116 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.635, allocations: 346.3 kB / 0.6119 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.635, allocations: 27.16 kB / 0.6119 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.6351, allocations: 26.81 kB / 0.612 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.6365, allocations: 494.9 kB / 0.6124 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.6365, allocations: 2.719 kB / 0.6124 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.6366, allocations: 11.16 kB / 0.6124 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/0.6366, allocations: 7.188 kB / 0.6125 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.638, allocations: 409.8 kB / 0.6128 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/0.6411, allocations: 2.424 MB / 0.6152 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.6425, allocations: 329.3 kB / 0.6155 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.6428, allocations: 113 kB / 0.6156 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03934/0.6821, allocations: 18.38 MB / 0.6336 GB, free: 16.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.6822, allocations: 35 kB / 0.6336 GB, free: 16.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/0.6822, allocations: 4 kB / 0.6336 GB, free: 16.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002207/0.6845, allocations: 0.5279 MB / 0.6341 GB, free: 16.28 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6846, allocations: 105.5 kB / 0.6342 GB, free: 16.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/0.6851, allocations: 320.9 kB / 0.6345 GB, free: 16.05 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.6851, allocations: 30.61 kB / 0.6346 GB, free: 16.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.6853, allocations: 213.4 kB / 0.6348 GB, free: 15.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.6854, allocations: 49.52 kB / 0.6348 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.6855, allocations: 67.67 kB / 0.6349 GB, free: 15.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.6857, allocations: 346.3 kB / 0.6352 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.686, allocations: 90.2 kB / 0.6353 GB, free: 15.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003377/0.6863, allocations: 208.8 kB / 0.6355 GB, free: 15.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/0.687, allocations: 296.3 kB / 0.6358 GB, free: 15.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.687, allocations: 1.219 kB / 0.6358 GB, free: 15.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008246/0.6878, allocations: 342.1 kB / 0.6361 GB, free: 15.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6879, allocations: 6.406 kB / 0.6361 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6879, allocations: 8.578 kB / 0.6361 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.6879, allocations: 8.938 kB / 0.6361 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.6882, allocations: 72.34 kB / 0.6362 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.6882, allocations: 11.27 kB / 0.6362 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.6886, allocations: 50 kB / 0.6363 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.6886, allocations: 17.38 kB / 0.6363 GB, free: 15.15 MB / 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.0002167/0.6888, allocations: 155 kB / 0.6364 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/0.6889, allocations: 31.88 kB / 0.6365 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.6904, allocations: 1.107 MB / 0.6375 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.6905, allocations: 20.55 kB / 0.6376 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6905, allocations: 0 / 0.6376 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6905, allocations: 0 / 0.6376 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.6913, allocations: 0.6628 MB / 0.6382 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6913, allocations: 0 / 0.6382 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.6915, allocations: 53.3 kB / 0.6383 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.6915, allocations: 0 / 0.6383 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6915, allocations: 6.438 kB / 0.6383 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.6915, allocations: 10.64 kB / 0.6383 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6916, allocations: 1.281 kB / 0.6383 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.6925, allocations: 0.6218 MB / 0.6389 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.6926, allocations: 132.7 kB / 0.639 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.6927, allocations: 27.38 kB / 0.639 GB, free: 14.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.6929, allocations: 20.64 kB / 0.6391 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.693, allocations: 30.36 kB / 0.6391 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.693, allocations: 2.438 kB / 0.6391 GB, free: 14.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003608/0.6934, allocations: 349.2 kB / 0.6394 GB, free: 14.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6934, allocations: 0 / 0.6394 GB, free: 14.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006326/0.6997, allocations: 0.8601 MB / 0.6403 GB, free: 14.07 MB / 478.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.009501/0.7093, allocations: 1.004 MB / 0.6412 GB, free: 13.86 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.7103, allocations: 351.2 kB / 0.6416 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.7104, allocations: 0 / 0.6416 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.7107, allocations: 255.2 kB / 0.6418 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.7119, allocations: 202.1 kB / 0.642 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.7134, allocations: 1.068 MB / 0.6431 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.714, allocations: 0.8734 MB / 0.6439 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/0.7141, allocations: 40.31 kB / 0.6439 GB, free: 12.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.7141, allocations: 0 / 0.6439 GB, free: 12.67 MB / 478.1 MB Notification: Performance of Templates: time 0.0368/0.7509, allocations: 20.59 MB / 0.664 GB, free: 1.539 MB / 478.1 MB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.324766680016182]