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.001736/0.001736, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.00211/0.00211, allocations: 211.4 kB / 23.73 MB, free: 4.523 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2427/0.2427, allocations: 46.94 MB / 360.9 MB, free: 4.055 MB / 286.1 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 0.002116/0.002116, allocations: 63.91 kB / 0.4966 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3787, allocations: 66.04 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03725/0.4159, allocations: 27.72 MB / 0.5881 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.4384, allocations: 15.67 MB / 0.6034 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.4389, allocations: 11.88 kB / 0.6035 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007761/0.4397, allocations: 206.6 kB / 0.6037 GB, free: 8.426 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007621/0.4405, allocations: 278.4 kB / 0.6039 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0182/0.4587, allocations: 6.01 MB / 0.6098 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.4601, allocations: 0.8498 MB / 0.6106 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.4605, allocations: 201 kB / 0.6108 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/0.4744, allocations: 5.481 MB / 0.6162 GB, free: 11.53 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.475, allocations: 258.9 kB / 0.6164 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.4751, allocations: 28 kB / 0.6164 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/0.488, allocations: 6.299 MB / 0.6226 GB, free: 4.941 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.4882, allocations: 91.67 kB / 0.6227 GB, free: 4.852 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.4886, allocations: 167.3 kB / 0.6228 GB, free: 4.688 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009749/0.4983, allocations: 3.85 MB / 0.6266 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4983, allocations: 4 kB / 0.6266 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4983, allocations: 0 / 0.6266 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4983, allocations: 0 / 0.6266 GB, free: 0.8242 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.002701/0.501, allocations: 1.005 MB / 0.6276 GB, free: 15.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.5011, allocations: 8.031 kB / 0.6276 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.5028, allocations: 208.5 kB / 0.6278 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.5034, allocations: 280.9 kB / 0.6281 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.5035, allocations: 25.03 kB / 0.6281 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.5035, allocations: 28.38 kB / 0.6281 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.505, allocations: 0.6311 MB / 0.6287 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.505, allocations: 4 kB / 0.6287 GB, free: 14.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.455e-05/0.5051, allocations: 15.98 kB / 0.6287 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.5051, allocations: 4 kB / 0.6287 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5064, allocations: 409.3 kB / 0.6291 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.5096, allocations: 1.774 MB / 0.6309 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.5108, allocations: 306.3 kB / 0.6312 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.5111, allocations: 112.8 kB / 0.6313 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03248/0.5436, allocations: 8.866 MB / 0.6399 GB, free: 2.949 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.999e-05/0.5437, allocations: 30.56 kB / 0.64 GB, free: 2.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.963e-06/0.5437, allocations: 3.938 kB / 0.64 GB, free: 2.906 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002162/0.5458, allocations: 0.5274 MB / 0.6405 GB, free: 2.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5459, allocations: 110.8 kB / 0.6406 GB, free: 2.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.5463, allocations: 276.1 kB / 0.6408 GB, free: 1.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.5463, allocations: 29.7 kB / 0.6409 GB, free: 1.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.5465, allocations: 215.9 kB / 0.6411 GB, free: 1.711 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.5466, allocations: 51.59 kB / 0.6411 GB, free: 1.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.5467, allocations: 61.7 kB / 0.6412 GB, free: 1.594 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5469, allocations: 334.8 kB / 0.6415 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.5472, allocations: 95.94 kB / 0.6416 GB, free: 1.164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.5477, allocations: 262.7 kB / 0.6418 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.5483, allocations: 297.4 kB / 0.6421 GB, free: 0.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.5483, allocations: 0 / 0.6421 GB, free: 0.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008232/0.5492, allocations: 333.1 kB / 0.6424 GB, free: 172 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.5492, allocations: 8 kB / 0.6425 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5492, allocations: 4 kB / 0.6425 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.5492, allocations: 4 kB / 0.6425 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.5495, allocations: 83.75 kB / 0.6425 GB, free: 72 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.5495, allocations: 4 kB / 0.6425 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.5498, allocations: 44.14 kB / 0.6426 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.5498, allocations: 16 kB / 0.6426 GB, free: 8 kB / 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.0002165/0.55, allocations: 161.6 kB / 0.6428 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.5501, allocations: 23.86 kB / 0.6428 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.5517, allocations: 1.14 MB / 0.6439 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.5517, allocations: 15.92 kB / 0.6439 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5518, allocations: 0 / 0.6439 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5518, allocations: 0 / 0.6439 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.5525, allocations: 0.5584 MB / 0.6445 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5525, allocations: 0 / 0.6445 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.5527, allocations: 51.95 kB / 0.6445 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.5527, allocations: 8 kB / 0.6445 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.5527, allocations: 0 / 0.6445 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.5527, allocations: 3.938 kB / 0.6445 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.5527, allocations: 3.938 kB / 0.6445 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009742/0.5537, allocations: 0.6275 MB / 0.6451 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.5538, allocations: 59.52 kB / 0.6452 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.5538, allocations: 23.78 kB / 0.6452 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.5541, allocations: 19.98 kB / 0.6452 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.5541, allocations: 27.89 kB / 0.6453 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.5542, allocations: 4 kB / 0.6453 GB, free: 13.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003793/0.5545, allocations: 307.1 kB / 0.6456 GB, free: 12.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5545, allocations: 0 / 0.6456 GB, free: 12.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003231/0.5578, allocations: 0.8616 MB / 0.6464 GB, free: 12.05 MB / 494.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.003917/0.5617, allocations: 1.004 MB / 0.6474 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008999/0.5626, allocations: 348.5 kB / 0.6477 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5626, allocations: 0 / 0.6477 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.563, allocations: 212.5 kB / 0.6479 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008445/0.5638, allocations: 154.6 kB / 0.6481 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.5657, allocations: 1.048 MB / 0.6491 GB, free: 9.277 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.566, allocations: 280.2 kB / 0.6493 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.5664, allocations: 180.8 kB / 0.6495 GB, free: 8.801 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.5665, allocations: 35.42 kB / 0.6496 GB, free: 8.766 MB / 494.1 MB Notification: Performance of SimCode: time 1.123e-06/0.5665, allocations: 4 kB / 0.6496 GB, free: 8.762 MB / 494.1 MB Notification: Performance of Templates: time 0.05229/0.6188, allocations: 34.74 MB / 0.6835 GB, free: 6.133 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.856160696130246]