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.001688/0.001688, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002109/0.002109, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.543/1.543, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.2555/0.2555, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-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.002346/0.002346, allocations: 83.84 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4087, allocations: 65.98 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03802/0.4467, allocations: 30.65 MB / 0.5911 GB, free: 6.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02462/0.4713, allocations: 17.76 MB / 0.6085 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005356/0.4719, allocations: 11.94 kB / 0.6085 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000819/0.4727, allocations: 226.6 kB / 0.6087 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007545/0.4734, allocations: 278.3 kB / 0.609 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0191/0.4926, allocations: 6.064 MB / 0.6149 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.4942, allocations: 0.8459 MB / 0.6157 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.4947, allocations: 207.4 kB / 0.6159 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01235/0.507, allocations: 5.485 MB / 0.6213 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.5077, allocations: 254.9 kB / 0.6215 GB, free: 7.02 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.5077, allocations: 32 kB / 0.6215 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.5218, allocations: 6.337 MB / 0.6277 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.522, allocations: 95.67 kB / 0.6278 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.5224, allocations: 187.2 kB / 0.628 GB, free: 376 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.5341, allocations: 3.866 MB / 0.6318 GB, free: 12.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5341, allocations: 3.938 kB / 0.6318 GB, free: 12.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5342, allocations: 0 / 0.6318 GB, free: 12.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.5342, allocations: 0 / 0.6318 GB, free: 12.49 MB / 478.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.003015/0.5372, allocations: 1.077 MB / 0.6328 GB, free: 11.36 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.5372, allocations: 16.92 kB / 0.6328 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.5389, allocations: 200.5 kB / 0.633 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.5395, allocations: 350.7 kB / 0.6334 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.5395, allocations: 24.94 kB / 0.6334 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.5396, allocations: 28.38 kB / 0.6334 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.5409, allocations: 490.8 kB / 0.6339 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.5409, allocations: 4 kB / 0.6339 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.5409, allocations: 15.94 kB / 0.6339 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.5409, allocations: 4 kB / 0.6339 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.5422, allocations: 413.2 kB / 0.6343 GB, free: 9.77 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.5456, allocations: 2.431 MB / 0.6367 GB, free: 7.125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5468, allocations: 310.3 kB / 0.637 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.5471, allocations: 104.8 kB / 0.6371 GB, free: 6.707 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03997/0.5871, allocations: 18.38 MB / 0.655 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.683e-05/0.5871, allocations: 38.5 kB / 0.6551 GB, free: 1.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.5871, allocations: 0 / 0.6551 GB, free: 1.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002382/0.5895, allocations: 0.5243 MB / 0.6556 GB, free: 1.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.5896, allocations: 102.8 kB / 0.6557 GB, free: 1.258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.5902, allocations: 328.5 kB / 0.656 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.5902, allocations: 25.7 kB / 0.656 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.5904, allocations: 216 kB / 0.6562 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.5905, allocations: 55.53 kB / 0.6563 GB, free: 0.625 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.5906, allocations: 69.64 kB / 0.6563 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.5908, allocations: 334.8 kB / 0.6567 GB, free: 220 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.5911, allocations: 99.92 kB / 0.6567 GB, free: 120 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/0.5915, allocations: 211.4 kB / 0.6569 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.5922, allocations: 293.1 kB / 0.6572 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5922, allocations: 4 kB / 0.6572 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008843/0.5931, allocations: 337.3 kB / 0.6576 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.5931, allocations: 12.06 kB / 0.6576 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.5932, allocations: 4 kB / 0.6576 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.12e-05/0.5932, allocations: 11.92 kB / 0.6576 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.5935, allocations: 71.89 kB / 0.6576 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5935, allocations: 4 kB / 0.6577 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.5938, allocations: 39.77 kB / 0.6577 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.5939, allocations: 19.98 kB / 0.6577 GB, free: 15.02 MB / 0.4981 GB 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.0002016/0.5941, allocations: 157.7 kB / 0.6579 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.5942, allocations: 39.75 kB / 0.6579 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.5958, allocations: 1.106 MB / 0.659 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.5959, allocations: 19.91 kB / 0.659 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.5959, allocations: 4 kB / 0.659 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5959, allocations: 0 / 0.659 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008992/0.5968, allocations: 0.6601 MB / 0.6596 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5968, allocations: 0 / 0.6596 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.597, allocations: 47.95 kB / 0.6597 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.597, allocations: 0 / 0.6597 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.597, allocations: 19.86 kB / 0.6597 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.597, allocations: 0 / 0.6597 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.597, allocations: 0 / 0.6597 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.5981, allocations: 0.6196 MB / 0.6603 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.5983, allocations: 140.6 kB / 0.6604 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/0.5984, allocations: 23.72 kB / 0.6605 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.5986, allocations: 19.98 kB / 0.6605 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/0.5987, allocations: 19.97 kB / 0.6605 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.5987, allocations: 11.98 kB / 0.6605 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004642/0.5992, allocations: 342.9 kB / 0.6608 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5992, allocations: 4 kB / 0.6609 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002953/0.6021, allocations: 0.8539 MB / 0.6617 GB, free: 10.84 MB / 0.4981 GB 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.005016/0.6071, allocations: 1.018 MB / 0.6627 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.6082, allocations: 352.1 kB / 0.663 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6082, allocations: 0.9375 kB / 0.663 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.6086, allocations: 204.5 kB / 0.6632 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.6098, allocations: 180.8 kB / 0.6634 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.6117, allocations: 1.045 MB / 0.6644 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000587/0.6123, allocations: 0.8836 MB / 0.6653 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004125/0.6127, allocations: 189.2 kB / 0.6654 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.6128, allocations: 31.44 kB / 0.6655 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.6128, allocations: 0 / 0.6655 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.05707/0.6699, allocations: 34.86 MB / 0.6995 GB, free: 4.066 MB / 0.5294 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 -s cvode -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: 7.8379430822096765]