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.001462/0.001462, allocations: 102.8 kB / 16.94 MB, free: 6.203 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.0013/0.0013, allocations: 187.3 kB / 17.86 MB, free: 5.312 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.625/1.625, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2293/0.2293, allocations: 43.53 MB / 314.6 MB, free: 0.543 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.001541/0.001541, allocations: 65.88 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1309, allocations: 57.79 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03119/0.1621, allocations: 30.08 MB / 471.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02191/0.1841, allocations: 17.6 MB / 488.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004609/0.1846, allocations: 7.938 kB / 488.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.1854, allocations: 214.6 kB / 489.1 MB, free: 6.855 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.1861, allocations: 274.3 kB / 489.4 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01895/0.2051, allocations: 6.029 MB / 495.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.2065, allocations: 0.8343 MB / 496.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004348/0.207, allocations: 236.8 kB / 496.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/0.2199, allocations: 5.443 MB / 0.4901 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005984/0.2205, allocations: 243 kB / 0.4904 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.2206, allocations: 32 kB / 0.4904 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/0.2339, allocations: 6.173 MB / 0.4964 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.2341, allocations: 91.72 kB / 0.4965 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.2345, allocations: 191.1 kB / 0.4967 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.2476, allocations: 3.836 MB / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.2477, allocations: 0 / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.561e-06/0.2477, allocations: 0 / 0.5004 GB, free: 15.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.2477, allocations: 0 / 0.5004 GB, free: 15.39 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.003885/0.2516, allocations: 1.041 MB / 0.5015 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.2517, allocations: 12.03 kB / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.2534, allocations: 196.3 kB / 0.5016 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.2539, allocations: 326.5 kB / 0.502 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.254, allocations: 24.94 kB / 0.502 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.254, allocations: 24.38 kB / 0.502 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.2553, allocations: 490.8 kB / 0.5025 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2553, allocations: 7.938 kB / 0.5025 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.2554, allocations: 15.98 kB / 0.5025 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.2554, allocations: 8 kB / 0.5025 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.2566, allocations: 409.3 kB / 0.5029 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/0.2604, allocations: 2.426 MB / 0.5053 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.2618, allocations: 334.2 kB / 0.5056 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.2621, allocations: 104.8 kB / 0.5057 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03648/0.2986, allocations: 16.47 MB / 0.5218 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/0.2987, allocations: 30.56 kB / 0.5218 GB, free: 7.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.214e-06/0.2987, allocations: 0 / 0.5218 GB, free: 7.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002347/0.301, allocations: 0.5282 MB / 0.5223 GB, free: 6.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3011, allocations: 106.8 kB / 0.5224 GB, free: 6.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.3016, allocations: 324.5 kB / 0.5227 GB, free: 6.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.3017, allocations: 29.7 kB / 0.5228 GB, free: 6.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.3019, allocations: 211.6 kB / 0.523 GB, free: 5.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.564e-05/0.3019, allocations: 47.34 kB / 0.523 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3021, allocations: 65.61 kB / 0.5231 GB, free: 5.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3022, allocations: 342.8 kB / 0.5234 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.3025, allocations: 83.94 kB / 0.5235 GB, free: 5.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.3029, allocations: 216.6 kB / 0.5237 GB, free: 5.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.3036, allocations: 301.4 kB / 0.524 GB, free: 4.766 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3037, allocations: 0 / 0.524 GB, free: 4.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008429/0.3045, allocations: 332.2 kB / 0.5243 GB, free: 4.438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3045, allocations: 4 kB / 0.5243 GB, free: 4.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3046, allocations: 12.44 kB / 0.5243 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.3046, allocations: 15.94 kB / 0.5243 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.3049, allocations: 71.83 kB / 0.5244 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.3049, allocations: 8 kB / 0.5244 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.3053, allocations: 39.67 kB / 0.5244 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.3053, allocations: 16 kB / 0.5244 GB, free: 4.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.000188/0.3055, allocations: 157.6 kB / 0.5246 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.3056, allocations: 35.62 kB / 0.5246 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3072, allocations: 1.113 MB / 0.5257 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.3072, allocations: 11.98 kB / 0.5257 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3072, allocations: 4 kB / 0.5257 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3072, allocations: 7.984 kB / 0.5257 GB, free: 2.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.3081, allocations: 0.6677 MB / 0.5264 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3081, allocations: 0 / 0.5264 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002247/0.3083, allocations: 47.95 kB / 0.5264 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.3083, allocations: 7.938 kB / 0.5264 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3083, allocations: 7.875 kB / 0.5264 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3084, allocations: 0 / 0.5264 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3084, allocations: 0 / 0.5264 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3094, allocations: 0.6231 MB / 0.5271 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.3096, allocations: 136.3 kB / 0.5272 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.3097, allocations: 23.69 kB / 0.5272 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.3099, allocations: 19.98 kB / 0.5272 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.31, allocations: 19.97 kB / 0.5272 GB, free: 1.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.31, allocations: 4 kB / 0.5273 GB, free: 1.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004188/0.3105, allocations: 346.8 kB / 0.5276 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3105, allocations: 0 / 0.5276 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003165/0.3136, allocations: 0.8471 MB / 0.5284 GB, free: 100 kB / 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.2223/0.536, allocations: 0.9874 MB / 0.5294 GB, free: 95.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.5371, allocations: 358.4 kB / 0.5297 GB, free: 95.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5371, allocations: 0 / 0.5297 GB, free: 95.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.5375, allocations: 263.4 kB / 0.53 GB, free: 95.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5386, allocations: 190.9 kB / 0.5301 GB, free: 95.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.5401, allocations: 1.07 MB / 0.5312 GB, free: 95.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5405, allocations: 0.8722 MB / 0.532 GB, free: 94.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.128e-05/0.5406, allocations: 37 kB / 0.5321 GB, free: 94.32 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5406, allocations: 0 / 0.5321 GB, free: 94.32 MB / 414.1 MB Notification: Performance of Templates: time 0.03394/0.5745, allocations: 20.43 MB / 0.552 GB, free: 84.11 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 -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