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.004072/0.004072, allocations: 365.1 kB / 15.96 MB, free: 6.18 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.034/4.034, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.00385/0.00385, allocations: 226.3 kB / 451 MB, free: 145.1 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.5016/0.5016, allocations: 80.02 MB / 0.5627 GB, free: 19.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004447, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09378, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006427/0.09447, allocations: 260.4 kB / 0.6803 GB, free: 41.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.09524, allocations: 371.1 kB / 0.6807 GB, free: 41.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.0953, allocations: 0 / 0.6807 GB, free: 41.03 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.09533, allocations: 7.938 kB / 0.6807 GB, free: 41.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.811e-05/0.09537, allocations: 0 / 0.6807 GB, free: 41.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.09583, allocations: 91.78 kB / 0.6808 GB, free: 40.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.294e-05/0.09589, allocations: 27.91 kB / 0.6808 GB, free: 40.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.09596, allocations: 0 / 0.6808 GB, free: 40.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.09599, allocations: 8 kB / 0.6808 GB, free: 40.9 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.09606, allocations: 19.91 kB / 0.6808 GB, free: 40.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.09608, allocations: 3.938 kB / 0.6808 GB, free: 40.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.09638, allocations: 147.8 kB / 0.681 GB, free: 40.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.522e-05/0.09641, allocations: 15.97 kB / 0.681 GB, free: 40.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.09644, allocations: 25.7 kB / 0.681 GB, free: 40.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.0966, allocations: 68.19 kB / 0.6811 GB, free: 40.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.09662, allocations: 0 / 0.6811 GB, free: 40.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09663, allocations: 0 / 0.6811 GB, free: 40.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.09664, allocations: 3.938 kB / 0.6811 GB, free: 40.61 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.0003698/0.09702, allocations: 362.6 kB / 0.6814 GB, free: 40.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.09707, allocations: 8.031 kB / 0.6814 GB, free: 40.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.09711, allocations: 15.86 kB / 0.6815 GB, free: 40.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.0972, allocations: 163 kB / 0.6816 GB, free: 39.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.09723, allocations: 4 kB / 0.6816 GB, free: 39.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.09727, allocations: 15.98 kB / 0.6816 GB, free: 39.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.09741, allocations: 45.69 kB / 0.6817 GB, free: 39.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.09744, allocations: 7.844 kB / 0.6817 GB, free: 39.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.09746, allocations: 7.938 kB / 0.6817 GB, free: 39.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.09748, allocations: 3.953 kB / 0.6817 GB, free: 39.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.403e-05/0.09757, allocations: 23.98 kB / 0.6817 GB, free: 39.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.09774, allocations: 177.6 kB / 0.6819 GB, free: 39.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.09801, allocations: 58.58 kB / 0.6819 GB, free: 39.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.09809, allocations: 24.86 kB / 0.682 GB, free: 39.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.09842, allocations: 113.1 kB / 0.6821 GB, free: 39.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.09846, allocations: 34.56 kB / 0.6821 GB, free: 39.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.09847, allocations: 0 / 0.6821 GB, free: 39.39 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.2743/0.3727, allocations: 6.372 MB / 0.6883 GB, free: 32.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.3728, allocations: 59.41 kB / 0.6884 GB, free: 32.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.3729, allocations: 105.8 kB / 0.6885 GB, free: 32.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.373, allocations: 29.7 kB / 0.6885 GB, free: 32.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.373, allocations: 92.14 kB / 0.6886 GB, free: 32.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.3731, allocations: 59.02 kB / 0.6887 GB, free: 32.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.3732, allocations: 8 kB / 0.6887 GB, free: 32.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.182e-05/0.3732, allocations: 318.8 kB / 0.689 GB, free: 32.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.374, allocations: 219.9 kB / 0.6892 GB, free: 32.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/0.3747, allocations: 223.9 kB / 0.6894 GB, free: 31.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.3764, allocations: 275.8 kB / 0.6897 GB, free: 31.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3764, allocations: 4 kB / 0.6897 GB, free: 31.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002593/0.379, allocations: 0.5852 MB / 0.6902 GB, free: 30.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.379, allocations: 4 kB / 0.6902 GB, free: 30.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.3791, allocations: 0 / 0.6902 GB, free: 30.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.3791, allocations: 3.953 kB / 0.6902 GB, free: 30.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.38, allocations: 95.89 kB / 0.6903 GB, free: 30.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.38, allocations: 0 / 0.6903 GB, free: 30.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/0.3806, allocations: 28.44 kB / 0.6904 GB, free: 30.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.3807, allocations: 27.97 kB / 0.6904 GB, free: 30.82 MB / 346.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.0001594/0.3808, allocations: 114.6 kB / 0.6905 GB, free: 30.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.3809, allocations: 7.906 kB / 0.6905 GB, free: 30.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.3839, allocations: 0.6775 MB / 0.6912 GB, free: 30.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.384, allocations: 7.875 kB / 0.6912 GB, free: 30.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.384, allocations: 0 / 0.6912 GB, free: 30.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.384, allocations: 85.02 kB / 0.6913 GB, free: 29.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.6e-05/0.3841, allocations: 15.94 kB / 0.6913 GB, free: 29.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/0.3847, allocations: 31.92 kB / 0.6913 GB, free: 29.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.3848, allocations: 7.984 kB / 0.6913 GB, free: 29.85 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003241/0.388, allocations: 0.7069 MB / 0.692 GB, free: 29.14 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00267/0.3907, allocations: 0.7445 MB / 0.6927 GB, free: 28.38 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007645/0.3915, allocations: 239.8 kB / 0.693 GB, free: 28.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.3916, allocations: 83.28 kB / 0.693 GB, free: 28.06 MB / 346.7 MB Notification: Performance of Backend: time 1.082e-06/0.3916, allocations: 0 / 0.693 GB, free: 28.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006308/0.3979, allocations: 0.5447 MB / 0.6936 GB, free: 27.51 MB / 346.7 MB Notification: Performance of SimCode: time 0.0005552/0.3985, allocations: 0.6407 MB / 0.6942 GB, free: 26.82 MB / 346.7 MB Notification: Performance of Templates: time 0.4106/0.8092, allocations: 55.73 MB / 0.7486 GB, free: 26.36 MB / 346.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