Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001623/0.001623, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001968/0.001968, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.575/1.575, allocations: 230.2 MB / 255.1 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2539/0.2539, allocations: 46.88 MB / 358.1 MB, free: 10.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 79.86 kB / 0.4924 GB, free: 8.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1479, allocations: 65.98 MB / 0.5568 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03773/0.1856, allocations: 30.4 MB / 0.5865 GB, free: 7.457 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3598/0.5454, allocations: 17.69 MB / 0.6037 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.5458, allocations: 12.38 kB / 0.6038 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008113/0.5467, allocations: 220.1 kB / 0.604 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008359/0.5475, allocations: 277.7 kB / 0.6042 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02406/0.5716, allocations: 6.07 MB / 0.6102 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.5732, allocations: 0.8383 MB / 0.611 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.5736, allocations: 206.2 kB / 0.6112 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01413/0.5878, allocations: 5.48 MB / 0.6165 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006995/0.5885, allocations: 253.3 kB / 0.6168 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.5886, allocations: 37.38 kB / 0.6168 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0152/0.6038, allocations: 6.337 MB / 0.623 GB, free: 1.348 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.604, allocations: 94.52 kB / 0.6231 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003669/0.6043, allocations: 190.9 kB / 0.6233 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.6159, allocations: 3.863 MB / 0.627 GB, free: 14.87 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6159, allocations: 0 / 0.627 GB, free: 14.87 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.6159, allocations: 0 / 0.627 GB, free: 14.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.616, allocations: 1.062 kB / 0.627 GB, free: 14.87 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.003518/0.6195, allocations: 1.08 MB / 0.6281 GB, free: 14.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6195, allocations: 8.656 kB / 0.6281 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.6212, allocations: 202.4 kB / 0.6283 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.6219, allocations: 357.9 kB / 0.6286 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.602e-05/0.6219, allocations: 25.31 kB / 0.6287 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.622, allocations: 25.06 kB / 0.6287 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.6233, allocations: 490 kB / 0.6292 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.6233, allocations: 3.922 kB / 0.6292 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.6234, allocations: 11.53 kB / 0.6292 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.6234, allocations: 10.31 kB / 0.6292 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.6247, allocations: 408.5 kB / 0.6296 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.6282, allocations: 2.417 MB / 0.6319 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.6294, allocations: 328.5 kB / 0.6322 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.6297, allocations: 107.8 kB / 0.6323 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03713/0.6668, allocations: 18.37 MB / 0.6503 GB, free: 9.566 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.6668, allocations: 34.56 kB / 0.6503 GB, free: 9.523 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 3.526e-06/0.6668, allocations: 3.891 kB / 0.6503 GB, free: 9.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002261/0.6691, allocations: 0.5382 MB / 0.6508 GB, free: 8.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.6692, allocations: 106.8 kB / 0.6509 GB, free: 8.852 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.6696, allocations: 328.4 kB / 0.6513 GB, free: 8.527 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.6696, allocations: 25.7 kB / 0.6513 GB, free: 8.496 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.6698, allocations: 212.9 kB / 0.6515 GB, free: 8.285 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.6698, allocations: 51.06 kB / 0.6515 GB, free: 8.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.6699, allocations: 65.66 kB / 0.6516 GB, free: 8.168 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6701, allocations: 342.8 kB / 0.6519 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.6704, allocations: 87.94 kB / 0.652 GB, free: 7.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.6708, allocations: 219.7 kB / 0.6522 GB, free: 7.469 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.6715, allocations: 299.7 kB / 0.6525 GB, free: 7.129 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6715, allocations: 4 kB / 0.6525 GB, free: 7.125 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008083/0.6723, allocations: 333.5 kB / 0.6528 GB, free: 6.793 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.6723, allocations: 8 kB / 0.6528 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6723, allocations: 11.86 kB / 0.6528 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.6723, allocations: 7.938 kB / 0.6529 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.6726, allocations: 71.89 kB / 0.6529 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.6726, allocations: 7.938 kB / 0.6529 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.6729, allocations: 47.66 kB / 0.653 GB, free: 6.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.6729, allocations: 16 kB / 0.653 GB, free: 6.629 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.000181/0.6731, allocations: 157.8 kB / 0.6531 GB, free: 6.465 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.6732, allocations: 31.81 kB / 0.6532 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.6748, allocations: 1.098 MB / 0.6542 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.6748, allocations: 19.86 kB / 0.6543 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6748, allocations: 0 / 0.6543 GB, free: 5.312 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6748, allocations: 7.984 kB / 0.6543 GB, free: 5.305 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.6756, allocations: 0.6707 MB / 0.6549 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6756, allocations: 0 / 0.6549 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.6758, allocations: 47.95 kB / 0.655 GB, free: 4.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6758, allocations: 4 kB / 0.655 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.6758, allocations: 4 kB / 0.655 GB, free: 4.531 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6758, allocations: 3.938 kB / 0.655 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6759, allocations: 0 / 0.655 GB, free: 4.527 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.6768, allocations: 0.6235 MB / 0.6556 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.6769, allocations: 140.6 kB / 0.6557 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.677, allocations: 15.84 kB / 0.6557 GB, free: 3.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.6772, allocations: 19.92 kB / 0.6558 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.6773, allocations: 23.97 kB / 0.6558 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.6773, allocations: 4 kB / 0.6558 GB, free: 3.668 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004135/0.6777, allocations: 350.8 kB / 0.6561 GB, free: 3.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6777, allocations: 0 / 0.6561 GB, free: 3.328 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00355/0.6813, allocations: 0.8616 MB / 0.657 GB, free: 2.465 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.004858/0.6861, allocations: 1.019 MB / 0.658 GB, free: 1.539 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009775/0.6871, allocations: 345.1 kB / 0.6583 GB, free: 1.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6871, allocations: 0 / 0.6583 GB, free: 1.203 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.6875, allocations: 208.5 kB / 0.6585 GB, free: 1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.6886, allocations: 191.4 kB / 0.6587 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.6903, allocations: 1.062 MB / 0.6597 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005276/0.6909, allocations: 0.8796 MB / 0.6606 GB, free: 14.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.691, allocations: 39.42 kB / 0.6606 GB, free: 14.79 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.691, allocations: 0 / 0.6606 GB, free: 14.79 MB / 494.1 MB Notification: Performance of Templates: time 0.05061/0.7416, allocations: 20.62 MB / 0.6807 GB, free: 10.19 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.227065161103383]