Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01078/0.01078, allocations: 108.7 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.1.mo): time 0.001151/0.001151, allocations: 169.2 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.65/1.65, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2506/0.2506, allocations: 38.08 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005087, allocations: 19.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09184, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04326/0.1352, allocations: 25.09 MB / 397.4 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02929/0.1645, allocations: 14.73 MB / 412.1 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.1651, allocations: 15.88 kB / 412.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1661, allocations: 175.1 kB / 412.3 MB, free: 4.754 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009749/0.1671, allocations: 223.3 kB / 412.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02593/0.1931, allocations: 4.663 MB / 417.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.1947, allocations: 488.3 kB / 417.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.1953, allocations: 192.8 kB / 417.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03367/0.229, allocations: 8.729 MB / 426.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005632/0.2296, allocations: 163.3 kB / 426.7 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.604e-05/0.2297, allocations: 12 kB / 426.7 MB, free: 6.277 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01982/0.2496, allocations: 6.087 MB / 432.8 MB, free: 188 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.2498, allocations: 75.67 kB / 432.9 MB, free: 112 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.25, allocations: 89.58 kB / 433 MB, free: 16 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2893/0.5393, allocations: 2.537 MB / 435.5 MB, free: 24.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5394, allocations: 0 / 435.5 MB, free: 24.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.5394, allocations: 4.781 kB / 435.5 MB, free: 24.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5394, allocations: 0 / 435.5 MB, free: 24.3 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.005357/0.5448, allocations: 0.9739 MB / 436.5 MB, free: 23.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.5448, allocations: 10.28 kB / 436.5 MB, free: 23.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.545, allocations: 62.55 kB / 436.6 MB, free: 23.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.5473, allocations: 182 kB / 436.8 MB, free: 23.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008637/0.5482, allocations: 337.8 kB / 437.1 MB, free: 23.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.5483, allocations: 26.97 kB / 437.1 MB, free: 23.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.5484, allocations: 27.2 kB / 437.1 MB, free: 23.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.5505, allocations: 0.4902 MB / 437.6 MB, free: 23.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.5505, allocations: 1.562 kB / 437.6 MB, free: 23.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.125e-05/0.5506, allocations: 14.53 kB / 437.6 MB, free: 23.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.5506, allocations: 7.125 kB / 437.7 MB, free: 23.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.5528, allocations: 440.9 kB / 438.1 MB, free: 23.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/0.5564, allocations: 2.322 MB / 440.4 MB, free: 21.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.5581, allocations: 322.7 kB / 440.7 MB, free: 21.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06626/0.6244, allocations: 15.85 MB / 456.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.6245, allocations: 33.59 kB / 456.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 5.22e-06/0.6245, allocations: 9.297 kB / 456.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.002821/0.6273, allocations: 0.5316 MB / 457.1 MB, free: 13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.6274, allocations: 107.8 kB / 457.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.6278, allocations: 282.6 kB / 457.5 MB, free: 12.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.6279, allocations: 29.7 kB / 457.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.628, allocations: 220 kB / 457.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.6281, allocations: 56.27 kB / 457.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.6281, allocations: 2.25 kB / 457.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6282, allocations: 336.9 kB / 458.2 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.6287, allocations: 104.7 kB / 458.3 MB, free: 12.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.6292, allocations: 229.7 kB / 458.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.6296, allocations: 124.4 kB / 458.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6296, allocations: 2.469 kB / 458.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001154/0.6308, allocations: 370.4 kB / 459 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.6309, allocations: 9.25 kB / 459 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6309, allocations: 3.062 kB / 459 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.6309, allocations: 8.844 kB / 459 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.6314, allocations: 84.8 kB / 459.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.6314, allocations: 10.08 kB / 459.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.6319, allocations: 45.39 kB / 459.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.6319, allocations: 17.28 kB / 459.1 MB, free: 11.98 MB / 330.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.0002461/0.6322, allocations: 163.3 kB / 459.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.6323, allocations: 30.16 kB / 459.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.6341, allocations: 0.9681 MB / 460.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.6341, allocations: 11.53 kB / 460.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6341, allocations: 2.297 kB / 460.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.6342, allocations: 3.953 kB / 460.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008402/0.635, allocations: 0.5727 MB / 460.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.635, allocations: 6.469 kB / 460.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.6354, allocations: 50.86 kB / 460.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6354, allocations: 0 / 460.9 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.6355, allocations: 7.219 kB / 461 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6355, allocations: 0 / 461 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6355, allocations: 0 / 461 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.6365, allocations: 0.5385 MB / 461.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.6368, allocations: 170.6 kB / 461.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.027e-05/0.6369, allocations: 10.47 kB / 461.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.6372, allocations: 19.22 kB / 461.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.6373, allocations: 18.2 kB / 461.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.6373, allocations: 4.906 kB / 461.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003144/0.6376, allocations: 235.8 kB / 461.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6377, allocations: 0 / 461.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005036/0.6427, allocations: 0.8408 MB / 462.8 MB, free: 10.99 MB / 330.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.01092/0.6537, allocations: 1.991 MB / 464.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.6548, allocations: 334.2 kB / 465.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6549, allocations: 0.9375 kB / 465.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.6554, allocations: 218 kB / 465.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6566, allocations: 124.7 kB / 465.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008464/0.6651, allocations: 5.347 MB / 470.8 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.6655, allocations: 0.8576 MB / 471.6 MB, free: 5.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005885/0.6661, allocations: 175.5 kB / 471.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.6663, allocations: 144 kB / 472 MB, free: 4.973 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6664, allocations: 0 / 472 MB, free: 4.973 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09893/0.7653, allocations: 37.59 MB / 0.4976 GB, free: 1.195 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003433/0.7657, allocations: 239.1 kB / 0.4978 GB, free: 0.957 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.389/6.155, allocations: 0 / 0.4978 GB, free: 0.957 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat