Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002695/0.002695, allocations: 350.8 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.439/3.439, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003565/0.003565, allocations: 225.2 kB / 397.9 MB, free: 4.977 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.7065/0.7065, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004686, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08783, allocations: 48.71 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006291/0.08852, allocations: 260.6 kB / 0.607 GB, free: 4.395 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.0893, allocations: 374.1 kB / 0.6073 GB, free: 4.027 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.08935, allocations: 0 / 0.6073 GB, free: 4.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.08938, allocations: 0 / 0.6073 GB, free: 4.027 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.265e-05/0.08941, allocations: 0 / 0.6073 GB, free: 4.027 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.08989, allocations: 107.8 kB / 0.6075 GB, free: 3.922 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.08997, allocations: 27.97 kB / 0.6075 GB, free: 3.895 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.09003, allocations: 3.984 kB / 0.6075 GB, free: 3.891 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.09007, allocations: 11.94 kB / 0.6075 GB, free: 3.879 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.09014, allocations: 23.91 kB / 0.6075 GB, free: 3.855 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.09016, allocations: 0 / 0.6075 GB, free: 3.855 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.09046, allocations: 135.8 kB / 0.6076 GB, free: 3.723 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.09049, allocations: 15.92 kB / 0.6077 GB, free: 3.707 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.09052, allocations: 29.64 kB / 0.6077 GB, free: 3.672 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.09069, allocations: 80.17 kB / 0.6078 GB, free: 3.594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.09071, allocations: 4 kB / 0.6078 GB, free: 3.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09072, allocations: 0 / 0.6078 GB, free: 3.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.09073, allocations: 0 / 0.6078 GB, free: 3.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003714/0.09111, allocations: 355.2 kB / 0.6081 GB, free: 3.195 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.09116, allocations: 8.031 kB / 0.6081 GB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.0912, allocations: 11.86 kB / 0.6081 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.07e-05/0.09129, allocations: 170.9 kB / 0.6083 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.09132, allocations: 4 kB / 0.6083 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.09136, allocations: 12 kB / 0.6083 GB, free: 2.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.09152, allocations: 61.66 kB / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.09154, allocations: 0 / 0.6084 GB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.09157, allocations: 8 kB / 0.6084 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.09158, allocations: 3.953 kB / 0.6084 GB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.0917, allocations: 39.95 kB / 0.6084 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.09189, allocations: 169.6 kB / 0.6086 GB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.09206, allocations: 90.48 kB / 0.6087 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.388e-05/0.09214, allocations: 33.22 kB / 0.6087 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/0.09246, allocations: 109.1 kB / 0.6088 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.0925, allocations: 34.5 kB / 0.6088 GB, free: 2.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.09251, allocations: 0 / 0.6088 GB, free: 2.32 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: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.5428/0.6354, allocations: 5.824 MB / 0.6145 GB, free: 89.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.6354, allocations: 58.53 kB / 0.6146 GB, free: 89.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.6355, allocations: 96.44 kB / 0.6147 GB, free: 89.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.6355, allocations: 29.77 kB / 0.6147 GB, free: 89.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.6356, allocations: 82.08 kB / 0.6148 GB, free: 89.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.6357, allocations: 79.44 kB / 0.6148 GB, free: 89.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.6358, allocations: 10.22 kB / 0.6149 GB, free: 89.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.6358, allocations: 317.5 kB / 0.6152 GB, free: 89.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.6365, allocations: 135.1 kB / 0.6153 GB, free: 89.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006934/0.6373, allocations: 138.4 kB / 0.6154 GB, free: 89.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.6386, allocations: 179.9 kB / 0.6156 GB, free: 89.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6387, allocations: 0 / 0.6156 GB, free: 89.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002273/0.641, allocations: 406.1 kB / 0.616 GB, free: 89.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.641, allocations: 5.5 kB / 0.616 GB, free: 89.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.641, allocations: 0 / 0.616 GB, free: 89.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.6411, allocations: 1.719 kB / 0.616 GB, free: 89.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007131/0.6418, allocations: 97.56 kB / 0.6161 GB, free: 89.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6418, allocations: 5.141 kB / 0.6161 GB, free: 89.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.6422, allocations: 37.8 kB / 0.6161 GB, free: 89.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.6423, allocations: 15.77 kB / 0.6161 GB, free: 89.3 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 (23): * Single equations (assignments): 23 * 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.0001289/0.6424, allocations: 125.2 kB / 0.6163 GB, free: 89.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.6425, allocations: 8.562 kB / 0.6163 GB, free: 89.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.6451, allocations: 477.6 kB / 0.6167 GB, free: 89.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.6452, allocations: 8.531 kB / 0.6167 GB, free: 89.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6452, allocations: 0 / 0.6167 GB, free: 89.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.6452, allocations: 88.81 kB / 0.6168 GB, free: 89.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.6453, allocations: 4.938 kB / 0.6168 GB, free: 89.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.6457, allocations: 39.78 kB / 0.6169 GB, free: 89.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.6458, allocations: 14.22 kB / 0.6169 GB, free: 89.04 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002659/0.6484, allocations: 0.5262 MB / 0.6174 GB, free: 88.93 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002317/0.6508, allocations: 0.5669 MB / 0.6179 GB, free: 88.72 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007693/0.6516, allocations: 171.5 kB / 0.6181 GB, free: 88.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.941e-05/0.6516, allocations: 76.75 kB / 0.6182 GB, free: 88.64 MB / 362.7 MB Notification: Performance of Backend: time 9.12e-07/0.6516, allocations: 1.375 kB / 0.6182 GB, free: 88.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007021/0.6587, allocations: 466.7 kB / 0.6186 GB, free: 88.57 MB / 362.7 MB Notification: Performance of SimCode: time 0.0005656/0.6593, allocations: 0.6398 MB / 0.6192 GB, free: 87.95 MB / 362.7 MB Notification: Performance of Templates: time 0.09436/0.7537, allocations: 54.08 MB / 0.6721 GB, free: 44.92 MB / 362.7 MB "" Variables in the reference:time,x,y1,y1d,y1dd,y2,y2d,y2dd,y3,y3d,y3dd,y4,y4d,y4dd Variables in the result:time,x,x_small,y1,y1d,y1dd,y2,y2d,y2dd,y3,y3d,y3dd,y4,y4d,y4dd