Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01415/0.01415, allocations: 106.2 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001791/0.001791, allocations: 178.2 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.978/1.978, allocations: 194.6 MB / 211.3 MB, free: 10.98 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2616/0.2616, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 15.98 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 54.88 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0601/0.1738, allocations: 25.27 MB / 441.3 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3494/0.5233, allocations: 14.86 MB / 456.2 MB, free: 31.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.5238, allocations: 14.69 kB / 456.2 MB, free: 31.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007776/0.5246, allocations: 177.3 kB / 456.4 MB, free: 31.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007024/0.5253, allocations: 218.3 kB / 456.6 MB, free: 31.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01924/0.5446, allocations: 4.723 MB / 461.3 MB, free: 31.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.5457, allocations: 495.5 kB / 461.8 MB, free: 31.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.5461, allocations: 191.7 kB / 462 MB, free: 31.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02365/0.5698, allocations: 8.826 MB / 470.8 MB, free: 31.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.5703, allocations: 167.4 kB / 471 MB, free: 31.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.567e-05/0.5704, allocations: 11.97 kB / 471 MB, free: 31.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01645/0.5869, allocations: 6.162 MB / 477.1 MB, free: 31.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.5871, allocations: 66.14 kB / 477.2 MB, free: 31.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.5873, allocations: 97.02 kB / 477.3 MB, free: 31.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006872/0.5942, allocations: 2.568 MB / 479.9 MB, free: 31.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5942, allocations: 0 / 479.9 MB, free: 31.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5943, allocations: 0 / 479.9 MB, free: 31.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.5943, allocations: 0 / 479.9 MB, free: 31.66 MB / 378.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.004087/0.5984, allocations: 0.9735 MB / 480.8 MB, free: 31.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5984, allocations: 10.14 kB / 480.8 MB, free: 31.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.5986, allocations: 67.67 kB / 480.9 MB, free: 30.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.6008, allocations: 195.5 kB / 481.1 MB, free: 30.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006944/0.6015, allocations: 340 kB / 481.4 MB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.6016, allocations: 25.22 kB / 481.5 MB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.6017, allocations: 26.52 kB / 481.5 MB, free: 30.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.6036, allocations: 498 kB / 482 MB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.6037, allocations: 1 kB / 482 MB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.6037, allocations: 14.91 kB / 482 MB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.6038, allocations: 13.64 kB / 482 MB, free: 30.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.6059, allocations: 435.9 kB / 482.4 MB, free: 30.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.6095, allocations: 2.329 MB / 484.7 MB, free: 28.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.6113, allocations: 328.2 kB / 485.1 MB, free: 28.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06317/0.6745, allocations: 15.87 MB / 0.4892 GB, free: 20.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.6746, allocations: 33.97 kB / 0.4892 GB, free: 20.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.6746, allocations: 4 kB / 0.4892 GB, free: 20.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002857/0.6775, allocations: 0.5304 MB / 0.4898 GB, free: 20.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.6776, allocations: 102.8 kB / 0.4898 GB, free: 20.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.678, allocations: 275.3 kB / 0.4901 GB, free: 20.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.678, allocations: 28.39 kB / 0.4901 GB, free: 20.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.6782, allocations: 218.5 kB / 0.4903 GB, free: 19.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.6783, allocations: 51.94 kB / 0.4904 GB, free: 19.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.6783, allocations: 8.688 kB / 0.4904 GB, free: 19.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.6784, allocations: 341.4 kB / 0.4907 GB, free: 19.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.6788, allocations: 95.69 kB / 0.4908 GB, free: 19.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.6794, allocations: 242.9 kB / 0.4911 GB, free: 19.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.6799, allocations: 123.4 kB / 0.4912 GB, free: 19.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6799, allocations: 0 / 0.4912 GB, free: 19.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001219/0.6811, allocations: 370.9 kB / 0.4915 GB, free: 19.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.6812, allocations: 7.656 kB / 0.4915 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.6812, allocations: 3.844 kB / 0.4915 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/0.6812, allocations: 6.75 kB / 0.4915 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.6818, allocations: 81.55 kB / 0.4916 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.6818, allocations: 8.656 kB / 0.4916 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.6823, allocations: 55.08 kB / 0.4917 GB, free: 19.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.6824, allocations: 18.12 kB / 0.4917 GB, free: 19.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (34): * Single equations (assignments): 34 * 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.0002425/0.6827, allocations: 160.3 kB / 0.4919 GB, free: 19.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.6828, allocations: 29.88 kB / 0.4919 GB, free: 19.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.6847, allocations: 0.9681 MB / 0.4928 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/0.6848, allocations: 16.22 kB / 0.4928 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6848, allocations: 0 / 0.4928 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.6848, allocations: 5.688 kB / 0.4928 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009085/0.6857, allocations: 0.5783 MB / 0.4934 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.6858, allocations: 3.562 kB / 0.4934 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.6862, allocations: 50.72 kB / 0.4935 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.6862, allocations: 1.656 kB / 0.4935 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.6862, allocations: 3.125 kB / 0.4935 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.6862, allocations: 6 kB / 0.4935 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6863, allocations: 0 / 0.4935 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.6874, allocations: 0.5374 MB / 0.494 GB, free: 18.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.6876, allocations: 153.9 kB / 0.4941 GB, free: 18.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.6877, allocations: 4.688 kB / 0.4941 GB, free: 18.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.6881, allocations: 33.45 kB / 0.4942 GB, free: 18.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.6882, allocations: 17.59 kB / 0.4942 GB, free: 18.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.6882, allocations: 4.75 kB / 0.4942 GB, free: 18.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003299/0.6886, allocations: 228.9 kB / 0.4944 GB, free: 18.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6886, allocations: 0 / 0.4944 GB, free: 18.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003964/0.6926, allocations: 0.8395 MB / 0.4952 GB, free: 18.2 MB / 378.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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009039/0.7016, allocations: 1.996 MB / 0.4972 GB, free: 17.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.7028, allocations: 330.5 kB / 0.4975 GB, free: 17.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.7028, allocations: 0 / 0.4975 GB, free: 17.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.7033, allocations: 221 kB / 0.4977 GB, free: 17.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.7045, allocations: 116.8 kB / 0.4978 GB, free: 17.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00812/0.7127, allocations: 5.343 MB / 0.503 GB, free: 28.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.7132, allocations: 0.8503 MB / 0.5039 GB, free: 27.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006293/0.7139, allocations: 177.3 kB / 0.504 GB, free: 27.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.7141, allocations: 145.1 kB / 0.5042 GB, free: 27.21 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7141, allocations: 4 kB / 0.5042 GB, free: 27.21 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09478/0.8089, allocations: 37.74 MB / 0.541 GB, free: 5.625 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/0.8093, allocations: 239.1 kB / 0.5413 GB, free: 5.387 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.441/6.25, allocations: 0 / 0.5413 GB, free: 5.387 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat