Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01696/0.01696, allocations: 107.9 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.001916/0.001916, allocations: 181.3 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 2.272/2.272, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.2754/0.2754, allocations: 40.04 MB / 296.5 MB, free: 6.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004779, allocations: 15.98 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1273, allocations: 54.88 MB / 416 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007866/0.1281, allocations: 264.4 kB / 416.3 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.1291, allocations: 372.9 kB / 416.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.1291, allocations: 3.938 kB / 416.7 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.1292, allocations: 3.938 kB / 416.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.681e-05/0.1292, allocations: 0 / 416.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.1297, allocations: 91.75 kB / 416.7 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.1298, allocations: 15.92 kB / 416.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.1299, allocations: 4 kB / 416.8 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.734e-05/0.1299, allocations: 11.98 kB / 416.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.13, allocations: 19.92 kB / 416.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.13, allocations: 4 kB / 416.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.1303, allocations: 135.8 kB / 416.9 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1303, allocations: 7.922 kB / 416.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.1304, allocations: 33.7 kB / 417 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.1306, allocations: 67.89 kB / 417 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1306, allocations: 0 / 417 MB, free: 1.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1306, allocations: 0 / 417 MB, free: 1.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1306, allocations: 0 / 417 MB, free: 1.516 MB / 346.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.0004716/0.1311, allocations: 363.5 kB / 417.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1312, allocations: 11.97 kB / 417.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.1312, allocations: 38.56 kB / 417.4 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.1313, allocations: 7.844 kB / 417.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1314, allocations: 174.9 kB / 417.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1314, allocations: 0 / 417.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1315, allocations: 8 kB / 417.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1316, allocations: 49.64 kB / 417.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1317, allocations: 0 / 417.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1317, allocations: 11.97 kB / 417.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1317, allocations: 4 kB / 417.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.982e-05/0.1318, allocations: 31.92 kB / 417.7 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.132, allocations: 161.7 kB / 417.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1324, allocations: 54.55 kB / 417.9 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003633/0.1327, allocations: 113.1 kB / 418 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1328, allocations: 38.78 kB / 418.1 MB, free: 288 kB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.1328, allocations: 0 / 418.1 MB, free: 288 kB / 346.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.267/0.3998, allocations: 6.382 MB / 424.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.3999, allocations: 55.41 kB / 424.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.4, allocations: 101.8 kB / 424.6 MB, free: 9.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.4001, allocations: 25.7 kB / 424.6 MB, free: 9.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.4001, allocations: 92.14 kB / 424.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4002, allocations: 67.09 kB / 424.8 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.4003, allocations: 0 / 424.8 MB, free: 9.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4004, allocations: 318.8 kB / 425.1 MB, free: 9.168 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008174/0.4013, allocations: 219.9 kB / 425.3 MB, free: 8.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/0.4021, allocations: 224.3 kB / 425.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.4039, allocations: 283.2 kB / 425.8 MB, free: 8.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.404, allocations: 0 / 425.8 MB, free: 8.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002964/0.407, allocations: 0.5832 MB / 426.4 MB, free: 7.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.407, allocations: 4 kB / 426.4 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.407, allocations: 3.938 kB / 426.4 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4071, allocations: 7.938 kB / 426.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008961/0.408, allocations: 91.89 kB / 426.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.408, allocations: 0 / 426.5 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.4086, allocations: 27.98 kB / 426.5 MB, free: 7.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.231e-05/0.4087, allocations: 23.97 kB / 426.6 MB, free: 7.715 MB / 362.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.0002153/0.4089, allocations: 125.8 kB / 426.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.409, allocations: 11.86 kB / 426.7 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.4124, allocations: 0.67 MB / 427.4 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.4125, allocations: 7.953 kB / 427.4 MB, free: 6.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.4126, allocations: 4 kB / 427.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4126, allocations: 4 kB / 427.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.4181, allocations: 1.089 MB / 428.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.4182, allocations: 0 / 428.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/0.419, allocations: 92.03 kB / 428.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/0.419, allocations: 4 kB / 428.6 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/0.4191, allocations: 23.97 kB / 428.6 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/0.4191, allocations: 4 kB / 428.6 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.4191, allocations: 7.875 kB / 428.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.422, allocations: 0.6384 MB / 429.2 MB, free: 4.883 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.4222, allocations: 85.02 kB / 429.3 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.4223, allocations: 8 kB / 429.3 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.4229, allocations: 27.97 kB / 429.4 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.4229, allocations: 23.88 kB / 429.4 MB, free: 4.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.423, allocations: 23.97 kB / 429.4 MB, free: 4.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.223e-05/0.4231, allocations: 83.28 kB / 429.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4231, allocations: 4 kB / 429.5 MB, free: 4.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002815/0.426, allocations: 0.6367 MB / 430.1 MB, free: 3.977 MB / 362.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.008806/0.4348, allocations: 1.784 MB / 431.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.4367, allocations: 423.7 kB / 432.3 MB, free: 1.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.4368, allocations: 0 / 432.3 MB, free: 1.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008386/0.4376, allocations: 196.1 kB / 432.5 MB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4379, allocations: 11.95 kB / 432.5 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.4428, allocations: 0.5993 MB / 433.1 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.4432, allocations: 0.7043 MB / 433.8 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007272/0.4439, allocations: 100.9 kB / 433.9 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.4444, allocations: 75.34 kB / 434 MB, free: 15.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4444, allocations: 3.938 kB / 434 MB, free: 15.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4705/0.9149, allocations: 56.12 MB / 490.1 MB, free: 42.6 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.9153, allocations: 201.4 kB / 490.3 MB, free: 42.35 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/3.898, allocations: 0 / 490.3 MB, free: 42.35 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat