Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00269/0.002695, allocations: 370.9 kB / 15.96 MB, free: 6.199 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 3.795/3.795, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003564/0.003564, allocations: 234.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.4967/0.4967, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004772, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09109, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.000611/0.09176, allocations: 228.5 kB / 0.6803 GB, free: 41.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002724/0.09205, allocations: 85.48 kB / 0.6804 GB, free: 41.34 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.09208, allocations: 3.938 kB / 0.6804 GB, free: 41.34 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.989e-06/0.09211, allocations: 0 / 0.6804 GB, free: 41.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.16e-05/0.09214, allocations: 4 kB / 0.6804 GB, free: 41.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.09231, allocations: 19.97 kB / 0.6804 GB, free: 41.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.323e-05/0.09237, allocations: 4 kB / 0.6804 GB, free: 41.31 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.09242, allocations: 4 kB / 0.6804 GB, free: 41.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.09246, allocations: 11.92 kB / 0.6804 GB, free: 41.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.09252, allocations: 4 kB / 0.6805 GB, free: 41.29 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.09255, allocations: 0 / 0.6805 GB, free: 41.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.09265, allocations: 31.97 kB / 0.6805 GB, free: 41.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.09267, allocations: 3.984 kB / 0.6805 GB, free: 41.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.0927, allocations: 25.7 kB / 0.6805 GB, free: 41.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.943e-05/0.09278, allocations: 11.98 kB / 0.6805 GB, free: 41.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.0928, allocations: 7.938 kB / 0.6805 GB, free: 41.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.09281, allocations: 3.938 kB / 0.6805 GB, free: 41.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.09282, allocations: 0 / 0.6805 GB, free: 41.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003071/0.09313, allocations: 327.3 kB / 0.6808 GB, free: 40.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.09318, allocations: 8.031 kB / 0.6809 GB, free: 40.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.09322, allocations: 11.89 kB / 0.6809 GB, free: 40.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.459e-05/0.09332, allocations: 163.3 kB / 0.681 GB, free: 40.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.09334, allocations: 0 / 0.681 GB, free: 40.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.09336, allocations: 8 kB / 0.681 GB, free: 40.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.09349, allocations: 51.41 kB / 0.6811 GB, free: 40.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.09351, allocations: 4 kB / 0.6811 GB, free: 40.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.09353, allocations: 0 / 0.6811 GB, free: 40.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.09354, allocations: 0 / 0.6811 GB, free: 40.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.086e-05/0.09361, allocations: 19.88 kB / 0.6811 GB, free: 40.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.09387, allocations: 321.1 kB / 0.6814 GB, free: 40.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.749e-05/0.09394, allocations: 30.61 kB / 0.6814 GB, free: 40.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.094, allocations: 16.8 kB / 0.6815 GB, free: 40.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.09403, allocations: 0 / 0.6815 GB, free: 40.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.09405, allocations: 34.56 kB / 0.6815 GB, free: 40.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.09406, allocations: 0 / 0.6815 GB, free: 40.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.09427, allocations: 61.64 kB / 0.6815 GB, free: 39.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.0943, allocations: 55.41 kB / 0.6816 GB, free: 39.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.09437, allocations: 97.84 kB / 0.6817 GB, free: 39.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.686e-06/0.09439, allocations: 25.7 kB / 0.6817 GB, free: 39.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.09443, allocations: 80.14 kB / 0.6818 GB, free: 39.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.09446, allocations: 11.81 kB / 0.6818 GB, free: 39.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.09447, allocations: 0 / 0.6818 GB, free: 39.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.415e-05/0.09453, allocations: 314.8 kB / 0.6821 GB, free: 39.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.09457, allocations: 11.94 kB / 0.6821 GB, free: 39.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.09462, allocations: 21.83 kB / 0.6821 GB, free: 39.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.09467, allocations: 8 kB / 0.6821 GB, free: 39.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.09468, allocations: 0 / 0.6821 GB, free: 39.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001174/0.09481, allocations: 53.69 kB / 0.6822 GB, free: 39.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.09484, allocations: 15.88 kB / 0.6822 GB, free: 39.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.09485, allocations: 0 / 0.6822 GB, free: 39.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.09487, allocations: 0 / 0.6822 GB, free: 39.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.09497, allocations: 11.98 kB / 0.6822 GB, free: 39.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.09499, allocations: 11.97 kB / 0.6822 GB, free: 39.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.09503, allocations: 3.938 kB / 0.6822 GB, free: 39.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.09505, allocations: 4.234 kB / 0.6822 GB, free: 39.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 5.331e-05/0.09511, allocations: 105.8 kB / 0.6823 GB, free: 39.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.09515, allocations: 11.91 kB / 0.6824 GB, free: 39.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.09532, allocations: 65.23 kB / 0.6824 GB, free: 39.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.09534, allocations: 0 / 0.6824 GB, free: 39.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.09536, allocations: 0 / 0.6824 GB, free: 39.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.09541, allocations: 89.05 kB / 0.6825 GB, free: 38.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.09543, allocations: 4 kB / 0.6825 GB, free: 38.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.681e-05/0.09551, allocations: 7.938 kB / 0.6825 GB, free: 38.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.09555, allocations: 4 kB / 0.6825 GB, free: 38.91 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000126/0.09568, allocations: 125 kB / 0.6826 GB, free: 38.78 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001427/0.09584, allocations: 230.7 kB / 0.6829 GB, free: 38.54 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.492e-05/0.0959, allocations: 15.98 kB / 0.6829 GB, free: 38.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.088e-05/0.09593, allocations: 83.28 kB / 0.6829 GB, free: 38.44 MB / 346.7 MB Notification: Performance of Backend: time 1.182e-06/0.09594, allocations: 0 / 0.6829 GB, free: 38.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004256/0.09638, allocations: 98.33 kB / 0.683 GB, free: 38.34 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002892/0.09668, allocations: 0.5506 MB / 0.6836 GB, free: 37.73 MB / 346.7 MB Notification: Performance of Templates: time 0.003122/0.09982, allocations: 0.549 MB / 0.6841 GB, free: 37.19 MB / 346.7 MB "" Variables in the reference:time,x,y,yd,k1,k2 Variables in the result:k1,k2,time,x,x_small,y,yd