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.001893/0.001893, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002136/0.002136, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.512/1.512, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2326/0.2326, allocations: 46.89 MB / 361.1 MB, free: 4.66 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.002326/0.002326, allocations: 79.86 kB / 0.4968 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.3, allocations: 65.98 MB / 0.5612 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03672/0.3367, allocations: 30.65 MB / 0.5911 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0228/0.3595, allocations: 17.78 MB / 0.6085 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.3599, allocations: 11.88 kB / 0.6085 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.3606, allocations: 218.6 kB / 0.6087 GB, free: 4.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008119/0.3614, allocations: 278.4 kB / 0.609 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01687/0.3783, allocations: 6.06 MB / 0.6149 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.3796, allocations: 0.8459 MB / 0.6157 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.38, allocations: 204.8 kB / 0.6159 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01161/0.3916, allocations: 5.485 MB / 0.6213 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004913/0.3921, allocations: 254.9 kB / 0.6215 GB, free: 7.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.262e-05/0.3922, allocations: 32 kB / 0.6215 GB, free: 7.016 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/0.4051, allocations: 6.334 MB / 0.6277 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.4052, allocations: 95.66 kB / 0.6278 GB, free: 0.582 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.4055, allocations: 191.1 kB / 0.628 GB, free: 404 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00738/0.4129, allocations: 3.862 MB / 0.6318 GB, free: 12.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4129, allocations: 0 / 0.6318 GB, free: 12.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4129, allocations: 0 / 0.6318 GB, free: 12.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.4129, allocations: 0 / 0.6318 GB, free: 12.52 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.002201/0.4151, allocations: 1.08 MB / 0.6328 GB, free: 11.39 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.4151, allocations: 12.03 kB / 0.6328 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.4168, allocations: 204.5 kB / 0.633 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.4173, allocations: 354.7 kB / 0.6334 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.4174, allocations: 28.92 kB / 0.6334 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.4174, allocations: 24.38 kB / 0.6334 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.4187, allocations: 490.8 kB / 0.6339 GB, free: 10.22 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.4188, allocations: 7.938 kB / 0.6339 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.4188, allocations: 12 kB / 0.6339 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.4188, allocations: 4 kB / 0.6339 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.4201, allocations: 409.3 kB / 0.6343 GB, free: 9.801 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.4235, allocations: 2.435 MB / 0.6367 GB, free: 7.152 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4248, allocations: 314.3 kB / 0.637 GB, free: 6.836 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/0.4251, allocations: 112.7 kB / 0.6371 GB, free: 6.723 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03897/0.4641, allocations: 18.37 MB / 0.655 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.4641, allocations: 38.56 kB / 0.6551 GB, free: 1.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.515e-06/0.4641, allocations: 0 / 0.6551 GB, free: 1.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.00213/0.4662, allocations: 0.5321 MB / 0.6556 GB, free: 1.398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.4663, allocations: 102.8 kB / 0.6557 GB, free: 1.273 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.4667, allocations: 320.5 kB / 0.656 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.4667, allocations: 29.7 kB / 0.656 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4669, allocations: 216 kB / 0.6562 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.467, allocations: 51.53 kB / 0.6563 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.4671, allocations: 73.64 kB / 0.6563 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4672, allocations: 338.8 kB / 0.6567 GB, free: 236 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/0.4675, allocations: 91.92 kB / 0.6567 GB, free: 144 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.468, allocations: 211.3 kB / 0.6569 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.4687, allocations: 289.5 kB / 0.6572 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4687, allocations: 4 kB / 0.6572 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008434/0.4695, allocations: 340.1 kB / 0.6575 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4695, allocations: 10.34 kB / 0.6576 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4695, allocations: 4 kB / 0.6576 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4696, allocations: 7.938 kB / 0.6576 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.4699, allocations: 75.83 kB / 0.6576 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4699, allocations: 8.453 kB / 0.6577 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.4701, allocations: 43.77 kB / 0.6577 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.4701, allocations: 16 kB / 0.6577 GB, free: 15.05 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.0001795/0.4703, allocations: 157.7 kB / 0.6579 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.4704, allocations: 35.77 kB / 0.6579 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.472, allocations: 1.106 MB / 0.659 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.472, allocations: 11.98 kB / 0.659 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.472, allocations: 4 kB / 0.659 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.472, allocations: 3.984 kB / 0.659 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.4728, allocations: 0.6641 MB / 0.6596 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4728, allocations: 3.938 kB / 0.6596 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.473, allocations: 55.89 kB / 0.6597 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.473, allocations: 0 / 0.6597 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.4731, allocations: 7.938 kB / 0.6597 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4731, allocations: 0 / 0.6597 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4731, allocations: 0 / 0.6597 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009909/0.474, allocations: 0.6274 MB / 0.6603 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.4742, allocations: 140.6 kB / 0.6605 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.85e-05/0.4742, allocations: 23.72 kB / 0.6605 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.4745, allocations: 19.98 kB / 0.6605 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.4745, allocations: 23.95 kB / 0.6605 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4746, allocations: 4 kB / 0.6605 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004207/0.475, allocations: 354.8 kB / 0.6609 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.475, allocations: 0 / 0.6609 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002245/0.4772, allocations: 0.85 MB / 0.6617 GB, free: 10.86 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.003403/0.4806, allocations: 1.015 MB / 0.6627 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008603/0.4815, allocations: 349.1 kB / 0.663 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4815, allocations: 0 / 0.663 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.4819, allocations: 208.4 kB / 0.6632 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.4829, allocations: 186.1 kB / 0.6634 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.4845, allocations: 1.039 MB / 0.6644 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.4851, allocations: 0.8759 MB / 0.6653 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003539/0.4854, allocations: 189.3 kB / 0.6654 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.4855, allocations: 31.44 kB / 0.6655 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.4855, allocations: 0 / 0.6655 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.05243/0.5379, allocations: 34.88 MB / 0.6995 GB, free: 4.086 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 gbode -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.607866812031716]