Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01675/0.01675, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.77/1.77, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002012/0.002012, allocations: 107.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4625/0.4625, allocations: 38.05 MB / 303.7 MB, free: 42.49 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004774, allocations: 12 kB / 363 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5755, allocations: 73.14 MB / 484.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.5758, allocations: 66.84 kB / 484.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01072/0.5866, allocations: 1.784 MB / 486.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5866, allocations: 0 / 486.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.5867, allocations: 4 kB / 486.7 MB, free: 12.71 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004576/0.5871, allocations: 377 kB / 487.1 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.5872, allocations: 12.03 kB / 487.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.5873, allocations: 34.5 kB / 487.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.5873, allocations: 14.27 kB / 487.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.5875, allocations: 167 kB / 487.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.5875, allocations: 3.688 kB / 487.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.5875, allocations: 4 kB / 487.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.5877, allocations: 48.5 kB / 487.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5877, allocations: 3.906 kB / 487.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.5878, allocations: 7.562 kB / 487.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.5878, allocations: 5.031 kB / 487.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.5879, allocations: 31.09 kB / 487.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.5882, allocations: 167.6 kB / 487.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.5885, allocations: 57.42 kB / 487.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003796/0.5889, allocations: 109.4 kB / 487.7 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.5889, allocations: 38.19 kB / 487.7 MB, free: 11.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.913e-06/0.589, allocations: 0 / 487.7 MB, free: 11.52 MB / 330.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.1013/0.6903, allocations: 2.825 MB / 490.6 MB, free: 8.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.6904, allocations: 55.41 kB / 490.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.6905, allocations: 94.62 kB / 490.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.6906, allocations: 25.7 kB / 490.7 MB, free: 8.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.529e-05/0.6906, allocations: 83.27 kB / 490.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.6907, allocations: 65.69 kB / 490.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.6908, allocations: 7.438 kB / 490.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.6909, allocations: 318.3 kB / 491.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009409/0.6919, allocations: 193.4 kB / 491.4 MB, free: 8.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.6929, allocations: 190.3 kB / 491.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.6941, allocations: 222 kB / 491.8 MB, free: 7.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6942, allocations: 0 / 491.8 MB, free: 7.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002572/0.6968, allocations: 496 kB / 492.3 MB, free: 7.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.6968, allocations: 8.469 kB / 492.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6968, allocations: 0 / 492.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.6969, allocations: 0 / 492.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.6978, allocations: 75.94 kB / 492.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6978, allocations: 4 kB / 492.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.6984, allocations: 27.3 kB / 492.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.6985, allocations: 19.17 kB / 492.4 MB, free: 7.41 MB / 330.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.0001994/0.6987, allocations: 126.2 kB / 492.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.6988, allocations: 11.89 kB / 492.5 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/0.702, allocations: 0.5746 MB / 493.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.702, allocations: 0 / 493.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.702, allocations: 0 / 493.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.702, allocations: 0 / 493.1 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/0.7069, allocations: 0.9413 MB / 494.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7069, allocations: 0 / 494.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.7077, allocations: 80.12 kB / 494.1 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.7077, allocations: 3.953 kB / 494.1 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/0.7078, allocations: 19.86 kB / 494.2 MB, free: 5.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.335e-06/0.7078, allocations: 4 kB / 494.2 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7078, allocations: 3.938 kB / 494.2 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.7099, allocations: 0.5486 MB / 494.7 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.71, allocations: 88.02 kB / 494.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.7101, allocations: 7.984 kB / 494.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.7106, allocations: 35.31 kB / 494.8 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.7107, allocations: 18.98 kB / 494.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.368e-05/0.7108, allocations: 15.98 kB / 494.9 MB, free: 5.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.635e-05/0.7108, allocations: 82.47 kB / 495 MB, free: 5.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7108, allocations: 0 / 495 MB, free: 5.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001736/0.7126, allocations: 353.7 kB / 495.3 MB, free: 4.688 MB / 330.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.0037/0.7163, allocations: 1.662 MB / 497 MB, free: 3.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.7177, allocations: 367.9 kB / 497.3 MB, free: 2.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.7177, allocations: 4 kB / 497.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.7183, allocations: 162.8 kB / 497.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.7186, allocations: 7.875 kB / 497.5 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.7214, allocations: 0.5942 MB / 498.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.7216, allocations: 0.6968 MB / 498.8 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000579/0.7222, allocations: 93.62 kB / 498.9 MB, free: 1.191 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.7225, allocations: 58.95 kB / 498.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of SimCode: time 1.753e-06/0.7225, allocations: 0 / 498.9 MB, free: 1.141 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03605/0.7586, allocations: 8.602 MB / 0.4956 GB, free: 8.633 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000362/0.759, allocations: 195 kB / 0.4958 GB, free: 8.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.404, allocations: 0 / 0.4958 GB, free: 8.391 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat