Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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: 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.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004388/0.004388, allocations: 353.4 kB / 15.95 MB, free: 6.215 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 3.328/3.328, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003465/0.003466, allocations: 229.2 kB / 397.9 MB, free: 4.906 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4503/0.4503, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004644, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08214/0.08262, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006562/0.08334, allocations: 260.6 kB / 0.607 GB, free: 4.383 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000747/0.0841, allocations: 378 kB / 0.6074 GB, free: 4.012 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.08415, allocations: 0 / 0.6074 GB, free: 4.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/0.08418, allocations: 0 / 0.6074 GB, free: 4.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.08421, allocations: 0 / 0.6074 GB, free: 4.012 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.08467, allocations: 95.77 kB / 0.6074 GB, free: 3.918 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.259e-05/0.08474, allocations: 23.92 kB / 0.6075 GB, free: 3.895 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.076e-05/0.0848, allocations: 4 kB / 0.6075 GB, free: 3.891 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.08483, allocations: 11.94 kB / 0.6075 GB, free: 3.879 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.0849, allocations: 19.91 kB / 0.6075 GB, free: 3.859 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.08492, allocations: 4 kB / 0.6075 GB, free: 3.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.08521, allocations: 139.8 kB / 0.6076 GB, free: 3.719 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.08523, allocations: 4 kB / 0.6076 GB, free: 3.715 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.08527, allocations: 33.64 kB / 0.6077 GB, free: 3.676 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.08542, allocations: 80.09 kB / 0.6078 GB, free: 3.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.08544, allocations: 0 / 0.6078 GB, free: 3.598 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.08545, allocations: 4 kB / 0.6078 GB, free: 3.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.08546, allocations: 0 / 0.6078 GB, free: 3.594 MB / 362.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.0003787/0.08585, allocations: 355.2 kB / 0.6081 GB, free: 3.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.0859, allocations: 8.031 kB / 0.6081 GB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.08594, allocations: 7.859 kB / 0.6081 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.703e-05/0.08604, allocations: 171 kB / 0.6083 GB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.08607, allocations: 11.98 kB / 0.6083 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.0861, allocations: 4 kB / 0.6083 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.08628, allocations: 53.62 kB / 0.6083 GB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.08631, allocations: 7.984 kB / 0.6083 GB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.08633, allocations: 7.938 kB / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.08634, allocations: 3.953 kB / 0.6084 GB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.005e-05/0.08644, allocations: 27.98 kB / 0.6084 GB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.08663, allocations: 165.6 kB / 0.6085 GB, free: 2.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.0869, allocations: 62.58 kB / 0.6086 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.08698, allocations: 24.84 kB / 0.6086 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.08732, allocations: 109.1 kB / 0.6087 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.08735, allocations: 34.56 kB / 0.6088 GB, free: 2.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.08736, allocations: 0 / 0.6088 GB, free: 2.379 MB / 362.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.5269/0.6143, allocations: 6.374 MB / 0.615 GB, free: 90.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.6144, allocations: 55.84 kB / 0.615 GB, free: 90.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.948e-05/0.6145, allocations: 104 kB / 0.6151 GB, free: 90.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.6146, allocations: 29.7 kB / 0.6152 GB, free: 90.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.146e-05/0.6146, allocations: 84.25 kB / 0.6152 GB, free: 89.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.6147, allocations: 68.75 kB / 0.6153 GB, free: 89.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.6148, allocations: 6.219 kB / 0.6153 GB, free: 89.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.6149, allocations: 318.3 kB / 0.6156 GB, free: 89.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008025/0.6157, allocations: 220.7 kB / 0.6158 GB, free: 89.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/0.6165, allocations: 225.2 kB / 0.616 GB, free: 89.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.6182, allocations: 274.6 kB / 0.6163 GB, free: 89.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6183, allocations: 0 / 0.6163 GB, free: 89.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002899/0.6212, allocations: 0.5909 MB / 0.6169 GB, free: 89.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6213, allocations: 10.47 kB / 0.6169 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.6213, allocations: 0 / 0.6169 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.6213, allocations: 4.719 kB / 0.6169 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009235/0.6223, allocations: 86.45 kB / 0.617 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.6223, allocations: 5.203 kB / 0.617 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.6229, allocations: 24.44 kB / 0.617 GB, free: 89.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.623, allocations: 25.3 kB / 0.617 GB, free: 89.59 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.0001745/0.6232, allocations: 123.4 kB / 0.6172 GB, free: 89.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.6233, allocations: 12.25 kB / 0.6172 GB, free: 89.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003239/0.6265, allocations: 0.6733 MB / 0.6178 GB, free: 89.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.6266, allocations: 3.109 kB / 0.6178 GB, free: 89.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6266, allocations: 0 / 0.6178 GB, free: 89.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.6266, allocations: 86.45 kB / 0.6179 GB, free: 89.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.6267, allocations: 4.688 kB / 0.6179 GB, free: 89.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/0.6273, allocations: 29.52 kB / 0.6179 GB, free: 89.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.6274, allocations: 16.2 kB / 0.618 GB, free: 89.32 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003405/0.6308, allocations: 0.6968 MB / 0.6186 GB, free: 89.22 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002846/0.6337, allocations: 0.7593 MB / 0.6194 GB, free: 89 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008426/0.6346, allocations: 235.5 kB / 0.6196 GB, free: 89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.6346, allocations: 89.77 kB / 0.6197 GB, free: 88.93 MB / 362.7 MB Notification: Performance of Backend: time 8.12e-07/0.6346, allocations: 3.844 kB / 0.6197 GB, free: 88.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007018/0.6417, allocations: 0.535 MB / 0.6202 GB, free: 88.87 MB / 362.7 MB Notification: Performance of SimCode: time 0.0006061/0.6423, allocations: 0.6302 MB / 0.6208 GB, free: 88.25 MB / 362.7 MB Notification: Performance of Templates: time 0.09679/0.7391, allocations: 55.74 MB / 0.6753 GB, free: 42.48 MB / 362.7 MB "" Variables in the reference:time,x,y,yd,ydd,k1,k2,y2,y2d,y2dd Variables in the result:k1,k1a,k1b,k2,k2a,k2b,time,x,x_small,y,y2,y2d,y2dd,yd,ydd