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.001486/0.001486, allocations: 108.3 kB / 17.03 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.51/1.51, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2057/0.2057, allocations: 43.53 MB / 314.7 MB, free: 468 kB / 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.001473/0.001474, allocations: 68.48 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1071, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02808/0.1352, allocations: 30.07 MB / 472 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01894/0.1542, allocations: 17.61 MB / 489.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.1546, allocations: 15.88 kB / 489.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006584/0.1553, allocations: 210.6 kB / 489.9 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005551/0.1559, allocations: 274.3 kB / 490.1 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01494/0.1708, allocations: 6.03 MB / 496.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.1719, allocations: 0.8303 MB / 497 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.1723, allocations: 232.8 kB / 497.2 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.1843, allocations: 5.439 MB / 0.4909 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.1847, allocations: 243 kB / 0.4911 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.1848, allocations: 32 kB / 0.4911 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.1955, allocations: 6.314 MB / 0.4973 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1957, allocations: 95.66 kB / 0.4974 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.196, allocations: 187.1 kB / 0.4976 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006517/0.2025, allocations: 3.832 MB / 0.5013 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2025, allocations: 0 / 0.5013 GB, free: 14.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2025, allocations: 0 / 0.5013 GB, free: 14.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2026, allocations: 0 / 0.5013 GB, free: 14.46 MB / 398.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.001911/0.2045, allocations: 1.041 MB / 0.5023 GB, free: 13.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2045, allocations: 12.03 kB / 0.5023 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.2061, allocations: 192.4 kB / 0.5025 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.2066, allocations: 350.5 kB / 0.5029 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.2066, allocations: 24.94 kB / 0.5029 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.2067, allocations: 24.38 kB / 0.5029 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.2079, allocations: 486.8 kB / 0.5034 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.2079, allocations: 8 kB / 0.5034 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.208, allocations: 12 kB / 0.5034 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.208, allocations: 4 kB / 0.5034 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.2095, allocations: 413.2 kB / 0.5038 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.2124, allocations: 2.418 MB / 0.5062 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.2135, allocations: 330.2 kB / 0.5065 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.2138, allocations: 108.8 kB / 0.5066 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03057/0.2444, allocations: 16.54 MB / 0.5227 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.2445, allocations: 30.56 kB / 0.5228 GB, free: 6.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.294e-06/0.2445, allocations: 0 / 0.5228 GB, free: 6.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002109/0.2466, allocations: 0.5277 MB / 0.5233 GB, free: 5.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.2467, allocations: 110.8 kB / 0.5234 GB, free: 5.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.2471, allocations: 328.5 kB / 0.5237 GB, free: 5.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.2472, allocations: 29.64 kB / 0.5237 GB, free: 5.133 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2473, allocations: 207.6 kB / 0.5239 GB, free: 4.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.2474, allocations: 47.34 kB / 0.524 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2475, allocations: 69.59 kB / 0.524 GB, free: 4.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.2476, allocations: 338.8 kB / 0.5243 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.2479, allocations: 91.92 kB / 0.5244 GB, free: 4.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.2482, allocations: 207.4 kB / 0.5246 GB, free: 4.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005704/0.2488, allocations: 301.4 kB / 0.5249 GB, free: 3.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.2488, allocations: 0 / 0.5249 GB, free: 3.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007789/0.2496, allocations: 341.2 kB / 0.5252 GB, free: 3.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2496, allocations: 8.062 kB / 0.5253 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2497, allocations: 4 kB / 0.5253 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.2497, allocations: 11.94 kB / 0.5253 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.25, allocations: 63.89 kB / 0.5253 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.25, allocations: 15.92 kB / 0.5253 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.2503, allocations: 43.61 kB / 0.5254 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.2503, allocations: 16 kB / 0.5254 GB, free: 3.273 MB / 414.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.0001737/0.2505, allocations: 161.6 kB / 0.5256 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.2506, allocations: 31.62 kB / 0.5256 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.252, allocations: 1.109 MB / 0.5267 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.252, allocations: 11.98 kB / 0.5267 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.252, allocations: 0 / 0.5267 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.252, allocations: 0 / 0.5267 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000719/0.2528, allocations: 0.6638 MB / 0.5273 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2528, allocations: 3.938 kB / 0.5273 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.253, allocations: 51.94 kB / 0.5274 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.253, allocations: 4 kB / 0.5274 GB, free: 1.168 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.2531, allocations: 7.938 kB / 0.5274 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2531, allocations: 0 / 0.5274 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2531, allocations: 0 / 0.5274 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.254, allocations: 0.6231 MB / 0.528 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.2541, allocations: 136.3 kB / 0.5281 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.2542, allocations: 23.69 kB / 0.5282 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2544, allocations: 19.97 kB / 0.5282 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.2545, allocations: 23.95 kB / 0.5282 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.2545, allocations: 4 kB / 0.5282 GB, free: 304 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.1901/0.4446, allocations: 343.3 kB / 0.5285 GB, free: 95.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4447, allocations: 0 / 0.5285 GB, free: 95.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002534/0.4472, allocations: 0.8405 MB / 0.5293 GB, free: 95.12 MB / 414.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.003288/0.4505, allocations: 1.001 MB / 0.5303 GB, free: 95.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008507/0.4514, allocations: 348.7 kB / 0.5307 GB, free: 95.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4514, allocations: 1.094 kB / 0.5307 GB, free: 95.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.4518, allocations: 258.8 kB / 0.5309 GB, free: 95.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009339/0.4527, allocations: 193.6 kB / 0.5311 GB, free: 95.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.4541, allocations: 1.018 MB / 0.5321 GB, free: 94.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4545, allocations: 0.8749 MB / 0.5329 GB, free: 93.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.4549, allocations: 190.3 kB / 0.5331 GB, free: 93.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.4549, allocations: 39.39 kB / 0.5332 GB, free: 93.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.455, allocations: 0 / 0.5332 GB, free: 93.91 MB / 414.1 MB Notification: Performance of Templates: time 0.03883/0.4938, allocations: 34.47 MB / 0.5668 GB, free: 69.27 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches