Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001011/0.001011, allocations: 82.64 kB / 21.44 MB, free: 3.055 MB / 18.57 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.00133/0.00133, allocations: 169.8 kB / 24.84 MB, free: 8.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1448/0.1448, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.517e-05, allocations: 2.312 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.01104/0.01106, allocations: 14.27 MB / 363.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.02286, allocations: 12.52 MB / 375.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.02307, allocations: 11.88 kB / 375.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006412/0.02371, allocations: 131 kB / 375.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.02418, allocations: 290.1 kB / 376.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.03564, allocations: 5.534 MB / 381.7 MB, free: 8.293 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.03686, allocations: 0.8692 MB / 382.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.03717, allocations: 213.1 kB / 382.7 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.04017, allocations: 2.201 MB / 384.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.04041, allocations: 215.3 kB / 385.2 MB, free: 4.773 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.04045, allocations: 32 kB / 385.2 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00823/0.04868, allocations: 5.911 MB / 391.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.04879, allocations: 99.58 kB / 391.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.04892, allocations: 131.8 kB / 391.3 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.05402, allocations: 4.541 MB / 395.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.05403, allocations: 0 / 395.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.05403, allocations: 0 / 395.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.05403, allocations: 0 / 395.9 MB, free: 10.05 MB / 330.7 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.001509/0.05554, allocations: 1.047 MB / 396.9 MB, free: 8.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.05559, allocations: 8.031 kB / 396.9 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.05697, allocations: 259.8 kB / 397.2 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.05729, allocations: 295.4 kB / 397.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.05731, allocations: 21.03 kB / 397.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.05734, allocations: 28.38 kB / 397.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.05803, allocations: 0.6159 MB / 398.1 MB, free: 7.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.05804, allocations: 4.188 kB / 398.1 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.05806, allocations: 15.94 kB / 398.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.05807, allocations: 4 kB / 398.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/0.05848, allocations: 267 kB / 398.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.06011, allocations: 2.155 MB / 400.6 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005232/0.06063, allocations: 270.7 kB / 400.8 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.06068, allocations: 43.94 kB / 400.9 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01331/0.07399, allocations: 7.392 MB / 408.3 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.07403, allocations: 41.39 kB / 408.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.585e-06/0.07403, allocations: 4 kB / 408.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008757/0.0749, allocations: 402.2 kB / 408.7 MB, free: 12.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.07495, allocations: 102.8 kB / 408.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.07513, allocations: 318.1 kB / 409.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.07515, allocations: 29.7 kB / 409.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.07527, allocations: 266.6 kB / 409.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.0753, allocations: 51.56 kB / 409.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.07537, allocations: 67.28 kB / 409.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.07552, allocations: 0.5195 MB / 410 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.07557, allocations: 39.89 kB / 410.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.07573, allocations: 277.5 kB / 410.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.07592, allocations: 246.8 kB / 410.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.07593, allocations: 0 / 410.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002603/0.07619, allocations: 253 kB / 410.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.0762, allocations: 8 kB / 410.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.07621, allocations: 4 kB / 410.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.07622, allocations: 4 kB / 410.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.07635, allocations: 63.91 kB / 410.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.07636, allocations: 7.938 kB / 410.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.07647, allocations: 36.25 kB / 411 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.07649, allocations: 12 kB / 411 MB, free: 10.42 MB / 346.7 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.0001049/0.07659, allocations: 180.4 kB / 411.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.07663, allocations: 31.81 kB / 411.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008673/0.0775, allocations: 0.6953 MB / 411.9 MB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.07751, allocations: 11.98 kB / 411.9 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.07752, allocations: 15.98 kB / 411.9 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.07752, allocations: 3.938 kB / 411.9 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.07786, allocations: 420 kB / 412.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.07786, allocations: 0 / 412.3 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.838e-05/0.07795, allocations: 31.97 kB / 412.3 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.07796, allocations: 4 kB / 412.3 MB, free: 8.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.07797, allocations: 4 kB / 412.3 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.07797, allocations: 0 / 412.3 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.07797, allocations: 0 / 412.3 MB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.07838, allocations: 0.4965 MB / 412.8 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.07843, allocations: 43.59 kB / 412.9 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.07847, allocations: 27.78 kB / 412.9 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.07855, allocations: 7.984 kB / 412.9 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.0786, allocations: 19.97 kB / 412.9 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.07862, allocations: 11.94 kB / 413 MB, free: 8.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.07879, allocations: 291 kB / 413.2 MB, free: 8.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.07879, allocations: 0 / 413.2 MB, free: 8.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002407/0.08119, allocations: 0.8616 MB / 414.1 MB, free: 7.215 MB / 346.7 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.002686/0.08388, allocations: 1.131 MB / 415.2 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.0842, allocations: 183 kB / 415.4 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.0842, allocations: 0.9375 kB / 415.4 MB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.08432, allocations: 113.5 kB / 415.5 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.08481, allocations: 167 kB / 415.7 MB, free: 5.629 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.08601, allocations: 0.9195 MB / 416.6 MB, free: 4.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.08609, allocations: 130.7 kB / 416.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.08629, allocations: 178.5 kB / 416.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.08654, allocations: 210 kB / 417.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.08654, allocations: 7.938 kB / 417.1 MB, free: 4.137 MB / 346.7 MB Notification: Performance of Templates: time 0.1782/0.2648, allocations: 39.18 MB / 456.3 MB, free: 64.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.423100505955517]