Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002706/0.002711, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.04/4.04, allocations: 388.9 MB / 405.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005334/0.005334, allocations: 236.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5664/0.5664, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.000505, allocations: 14.41 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09989, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/0.6148, allocations: 79.68 MB / 0.7579 GB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.6152, allocations: 74.75 kB / 0.758 GB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01708/0.6323, allocations: 2.979 MB / 0.7609 GB, free: 3.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6324, allocations: 0 / 0.7609 GB, free: 3.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.6324, allocations: 0 / 0.7609 GB, free: 3.16 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.0004336/0.6328, allocations: 369.8 kB / 0.7612 GB, free: 2.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6329, allocations: 12.03 kB / 0.7612 GB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.633, allocations: 10.7 kB / 0.7613 GB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.6331, allocations: 167.1 kB / 0.7614 GB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6331, allocations: 0 / 0.7614 GB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.6332, allocations: 7.75 kB / 0.7614 GB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.6334, allocations: 56.48 kB / 0.7615 GB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.6334, allocations: 3.906 kB / 0.7615 GB, free: 2.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6334, allocations: 3.953 kB / 0.7615 GB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.6334, allocations: 4 kB / 0.7615 GB, free: 2.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.6336, allocations: 30.67 kB / 0.7615 GB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.6338, allocations: 164.5 kB / 0.7617 GB, free: 2.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.6342, allocations: 64.64 kB / 0.7617 GB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.462e-05/0.6343, allocations: 23.53 kB / 0.7618 GB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000399/0.6347, allocations: 112.3 kB / 0.7619 GB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.6347, allocations: 30.56 kB / 0.7619 GB, free: 1.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.395e-06/0.6347, allocations: 0 / 0.7619 GB, free: 1.988 MB / 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.2621/0.8968, allocations: 6.083 MB / 0.7678 GB, free: 12.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.897, allocations: 59.36 kB / 0.7679 GB, free: 12.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.8971, allocations: 105.6 kB / 0.768 GB, free: 11.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.8972, allocations: 28.39 kB / 0.768 GB, free: 11.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.8973, allocations: 84.12 kB / 0.7681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.8975, allocations: 65.58 kB / 0.7682 GB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.8976, allocations: 0 / 0.7682 GB, free: 11.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.8978, allocations: 322.6 kB / 0.7685 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.8991, allocations: 217.2 kB / 0.7687 GB, free: 11.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.9005, allocations: 221.4 kB / 0.7689 GB, free: 11.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.9034, allocations: 283.1 kB / 0.7692 GB, free: 11.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.9034, allocations: 3.953 kB / 0.7692 GB, free: 11.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.004616/0.9081, allocations: 0.5809 MB / 0.7697 GB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.9082, allocations: 15.95 kB / 0.7697 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9082, allocations: 0 / 0.7697 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.9082, allocations: 0 / 0.7697 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.9096, allocations: 87.89 kB / 0.7698 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.9097, allocations: 0 / 0.7698 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/0.9106, allocations: 30.55 kB / 0.7699 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.9107, allocations: 23.95 kB / 0.7699 GB, free: 10.45 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.0002733/0.911, allocations: 121.1 kB / 0.77 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.9111, allocations: 7.906 kB / 0.77 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005296/0.9164, allocations: 0.6832 MB / 0.7707 GB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.9165, allocations: 11.88 kB / 0.7707 GB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.9165, allocations: 3.953 kB / 0.7707 GB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.9166, allocations: 4 kB / 0.7707 GB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008319/0.9249, allocations: 1.077 MB / 0.7717 GB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.925, allocations: 4.25 kB / 0.7717 GB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.9261, allocations: 83.92 kB / 0.7718 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.9261, allocations: 3.938 kB / 0.7718 GB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.806e-05/0.9263, allocations: 23.41 kB / 0.7719 GB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/0.9263, allocations: 4 kB / 0.7719 GB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/0.9263, allocations: 7.984 kB / 0.7719 GB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/0.9304, allocations: 0.5757 MB / 0.7724 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.412e-05/0.9306, allocations: 85.02 kB / 0.7725 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/0.9307, allocations: 7.906 kB / 0.7725 GB, free: 8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000815/0.9315, allocations: 35.16 kB / 0.7725 GB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.9316, allocations: 7.984 kB / 0.7726 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.9317, allocations: 27.41 kB / 0.7726 GB, free: 7.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.953e-05/0.9318, allocations: 79.28 kB / 0.7727 GB, free: 7.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.9318, allocations: 3.938 kB / 0.7727 GB, free: 7.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003554/0.9354, allocations: 0.6272 MB / 0.7733 GB, free: 7.234 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.006508/0.942, allocations: 349.1 kB / 0.7736 GB, free: 6.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.945, allocations: 421.7 kB / 0.774 GB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.945, allocations: 0 / 0.774 GB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.9463, allocations: 190.2 kB / 0.7742 GB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/0.947, allocations: 16.12 kB / 0.7742 GB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.9522, allocations: 0.5293 MB / 0.7747 GB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.9527, allocations: 0.7007 MB / 0.7754 GB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001151/0.9539, allocations: 100.9 kB / 0.7755 GB, free: 5.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000687/0.9546, allocations: 59.36 kB / 0.7756 GB, free: 5.012 MB / 362.7 MB Notification: Performance of SimCode: time 1.803e-06/0.9546, allocations: 0 / 0.7756 GB, free: 5.012 MB / 362.7 MB Notification: Performance of Templates: time 0.106/1.061, allocations: 49.55 MB / 0.8239 GB, free: 3.449 MB / 410.7 MB