Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.01291/0.01292, allocations: 105.8 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.00122/0.00122, allocations: 165.5 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.606/1.606, allocations: 170.9 MB / 187.6 MB, free: 0.9961 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.2836/0.2836, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004809, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09215, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007344/0.09294, allocations: 264.5 kB / 372.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000903/0.09386, allocations: 368.9 kB / 372.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.09391, allocations: 3.938 kB / 372.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.09394, allocations: 0 / 372.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.09399, allocations: 0 / 372.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.0945, allocations: 91.77 kB / 373 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.09458, allocations: 19.92 kB / 373 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.09464, allocations: 4 kB / 373 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.87e-05/0.09468, allocations: 15.97 kB / 373 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.09475, allocations: 11.92 kB / 373.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.09477, allocations: 4 kB / 373.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.09515, allocations: 147.7 kB / 373.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.09518, allocations: 0 / 373.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.09523, allocations: 33.64 kB / 373.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.09543, allocations: 79.89 kB / 373.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.09545, allocations: 0 / 373.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09546, allocations: 0 / 373.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.09547, allocations: 0 / 373.3 MB, free: 11.83 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004889/0.09596, allocations: 351.5 kB / 373.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.09602, allocations: 8.031 kB / 373.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/0.0961, allocations: 38.48 kB / 373.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.09614, allocations: 4 kB / 373.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.09629, allocations: 175 kB / 373.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.09632, allocations: 8 kB / 373.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.09636, allocations: 4 kB / 373.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.09653, allocations: 53.67 kB / 373.9 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.09657, allocations: 7.844 kB / 373.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.09659, allocations: 0 / 373.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.0966, allocations: 0 / 373.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.09671, allocations: 31.97 kB / 374 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.09696, allocations: 177.6 kB / 374.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.09727, allocations: 54.84 kB / 374.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/0.09767, allocations: 113 kB / 374.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.09771, allocations: 34.56 kB / 374.4 MB, free: 10.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.09772, allocations: 0 / 374.4 MB, free: 10.6 MB / 282.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.3122/0.4099, allocations: 6.38 MB / 380.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.41, allocations: 51.88 kB / 380.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4101, allocations: 101.8 kB / 380.9 MB, free: 4.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.4102, allocations: 29.7 kB / 380.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.4103, allocations: 80.14 kB / 381 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4104, allocations: 63.02 kB / 381 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.4105, allocations: 7.938 kB / 381.1 MB, free: 3.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4106, allocations: 326.8 kB / 381.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008192/0.4114, allocations: 215.9 kB / 381.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008428/0.4123, allocations: 230.4 kB / 381.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.4142, allocations: 275.8 kB / 382.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4142, allocations: 0 / 382.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002964/0.4171, allocations: 0.591 MB / 382.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.4172, allocations: 4 kB / 382.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4172, allocations: 0 / 382.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4172, allocations: 0 / 382.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/0.4182, allocations: 92.14 kB / 382.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.4182, allocations: 4 kB / 382.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.4188, allocations: 31.97 kB / 382.8 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.4189, allocations: 19.97 kB / 382.8 MB, free: 2.047 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0002025/0.4191, allocations: 126.8 kB / 382.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.4192, allocations: 11.91 kB / 383 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/0.4226, allocations: 0.6759 MB / 383.6 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4227, allocations: 4 kB / 383.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4227, allocations: 3.938 kB / 383.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4227, allocations: 0 / 383.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.4281, allocations: 1.089 MB / 384.7 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4282, allocations: 0 / 384.7 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/0.429, allocations: 87.91 kB / 384.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.429, allocations: 8.188 kB / 384.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.4291, allocations: 23.92 kB / 384.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-06/0.4291, allocations: 7.922 kB / 384.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4291, allocations: 4 kB / 384.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.4318, allocations: 0.6353 MB / 385.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.4319, allocations: 85.02 kB / 385.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.432, allocations: 11.98 kB / 385.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.4326, allocations: 23.98 kB / 385.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.4326, allocations: 27.88 kB / 385.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-05/0.4327, allocations: 23.97 kB / 385.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.679e-05/0.4328, allocations: 75.28 kB / 385.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4328, allocations: 0 / 385.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002466/0.4353, allocations: 0.6406 MB / 386.4 MB, free: 14.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.008444/0.4437, allocations: 1.791 MB / 388.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.4456, allocations: 423.6 kB / 388.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.4457, allocations: 0 / 388.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.4464, allocations: 188 kB / 388.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.4467, allocations: 15.94 kB / 388.8 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.4516, allocations: 0.6109 MB / 389.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.452, allocations: 0.6968 MB / 390.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007262/0.4527, allocations: 105.1 kB / 390.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/0.4532, allocations: 79.34 kB / 390.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of SimCode: time 1.173e-06/0.4532, allocations: 0 / 390.3 MB, free: 10.26 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6727/1.126, allocations: 56.1 MB / 446.4 MB, free: 44.67 MB / 330.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.126, allocations: 196.5 kB / 446.6 MB, free: 44.43 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.042/4.168, allocations: 0.8125 kB / 446.6 MB, free: 44.43 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat