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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008953, allocations: 97.14 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 174.5 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2918/0.2918, allocations: 43.55 MB / 314.5 MB, free: 8.988 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 12 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09453, allocations: 58.85 MB / 442.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.1774/0.2719, allocations: 25.43 MB / 468.2 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.2842, allocations: 14.88 MB / 483.1 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.2846, allocations: 10.06 kB / 483.1 MB, free: 26.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00049/0.2851, allocations: 177.9 kB / 483.2 MB, free: 26.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003799/0.2855, allocations: 222.3 kB / 483.5 MB, free: 26.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.2961, allocations: 4.727 MB / 488.2 MB, free: 24.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006612/0.2968, allocations: 498.5 kB / 488.7 MB, free: 23.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.297, allocations: 198.5 kB / 488.9 MB, free: 23.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01199/0.309, allocations: 8.827 MB / 497.7 MB, free: 22.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.3094, allocations: 167.7 kB / 497.9 MB, free: 22.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.3095, allocations: 13.44 kB / 497.9 MB, free: 22.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01057/0.32, allocations: 6.159 MB / 0.4922 GB, free: 21.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3202, allocations: 71.08 kB / 0.4923 GB, free: 21.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.3204, allocations: 92.52 kB / 0.4924 GB, free: 21.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005379/0.3257, allocations: 2.572 MB / 0.4949 GB, free: 20.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3258, allocations: 1.156 kB / 0.4949 GB, free: 20.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3258, allocations: 0 / 0.4949 GB, free: 20.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.3258, allocations: 0 / 0.4949 GB, free: 20.88 MB / 382.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.003673/0.3295, allocations: 0.9787 MB / 0.4958 GB, free: 20.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3295, allocations: 10.12 kB / 0.4959 GB, free: 20.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.3312, allocations: 196.6 kB / 0.496 GB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.3316, allocations: 327.8 kB / 0.4964 GB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.3316, allocations: 24.19 kB / 0.4964 GB, free: 19.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.3317, allocations: 29.72 kB / 0.4964 GB, free: 19.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.3329, allocations: 0.4904 MB / 0.4969 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3329, allocations: 11.92 kB / 0.4969 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.3329, allocations: 12.41 kB / 0.4969 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.3329, allocations: 7.516 kB / 0.4969 GB, free: 19.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.3341, allocations: 435.1 kB / 0.4973 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.3367, allocations: 2.441 MB / 0.4997 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.3378, allocations: 351.4 kB / 0.5 GB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02903/0.3669, allocations: 16.63 MB / 0.5163 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.367, allocations: 34.56 kB / 0.5163 GB, free: 2.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.844e-06/0.367, allocations: 0 / 0.5163 GB, free: 2.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001842/0.3688, allocations: 0.5671 MB / 0.5169 GB, free: 2.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3689, allocations: 110.8 kB / 0.517 GB, free: 2.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.3691, allocations: 320.5 kB / 0.5173 GB, free: 1.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.3692, allocations: 29.64 kB / 0.5173 GB, free: 1.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.3693, allocations: 211.6 kB / 0.5175 GB, free: 1.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.3693, allocations: 47.34 kB / 0.5176 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.3693, allocations: 4 kB / 0.5176 GB, free: 1.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.3694, allocations: 338.8 kB / 0.5179 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.3696, allocations: 103.9 kB / 0.518 GB, free: 1.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/0.3699, allocations: 232.3 kB / 0.5182 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.3702, allocations: 125.5 kB / 0.5183 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3702, allocations: 0 / 0.5183 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006253/0.3708, allocations: 355.3 kB / 0.5187 GB, free: 300 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3708, allocations: 8 kB / 0.5187 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3708, allocations: 4 kB / 0.5187 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3709, allocations: 4 kB / 0.5187 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.3711, allocations: 80.36 kB / 0.5188 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.3711, allocations: 15.88 kB / 0.5188 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.3714, allocations: 51.58 kB / 0.5188 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.3715, allocations: 12 kB / 0.5188 GB, free: 124 kB / 382.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_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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.3716, allocations: 165.7 kB / 0.519 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/0.3717, allocations: 31.62 kB / 0.519 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.3731, allocations: 1.141 MB / 0.5201 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3731, allocations: 15.98 kB / 0.5201 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3731, allocations: 4 kB / 0.5202 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3731, allocations: 3.984 kB / 0.5202 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.3737, allocations: 0.6677 MB / 0.5208 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3738, allocations: 0.875 kB / 0.5208 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.374, allocations: 55.89 kB / 0.5209 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.374, allocations: 7.984 kB / 0.5209 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.374, allocations: 8 kB / 0.5209 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.374, allocations: 3.953 kB / 0.5209 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.374, allocations: 0 / 0.5209 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.3749, allocations: 0.6388 MB / 0.5215 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.375, allocations: 195.9 kB / 0.5217 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.3751, allocations: 3.953 kB / 0.5217 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.3753, allocations: 31.97 kB / 0.5217 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.3754, allocations: 27.91 kB / 0.5218 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.3754, allocations: 4 kB / 0.5218 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.3758, allocations: 338.8 kB / 0.5221 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3758, allocations: 3.938 kB / 0.5221 GB, free: 12.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003738/0.3795, allocations: 0.8471 MB / 0.5229 GB, free: 11.83 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00365/0.3832, allocations: 0.993 MB / 0.5239 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007453/0.384, allocations: 373.2 kB / 0.5242 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.384, allocations: 0 / 0.5242 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.3843, allocations: 272.5 kB / 0.5245 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.3852, allocations: 173.7 kB / 0.5247 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3866, allocations: 1.271 MB / 0.5259 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.387, allocations: 0.8878 MB / 0.5268 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003345/0.3873, allocations: 183 kB / 0.5269 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.3874, allocations: 35.44 kB / 0.527 GB, free: 7.613 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3874, allocations: 3.938 kB / 0.527 GB, free: 7.609 MB / 398.1 MB Notification: Performance of Templates: time 0.04322/0.4306, allocations: 34.52 MB / 0.5607 GB, free: 5.09 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile Environment - environmentSimulation: (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) Environment - environmentSimulation: 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches