Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003832/0.003832, allocations: 352.3 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.772/3.772, 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.003538/0.003539, allocations: 225.1 kB / 397.9 MB, free: 4.984 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.4806/0.4806, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007171/0.0007176, allocations: 15.98 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.09991, allocations: 48.69 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0008062/0.1008, allocations: 232.6 kB / 0.607 GB, free: 4.438 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003779/0.1012, allocations: 98.53 kB / 0.6071 GB, free: 4.344 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.1012, allocations: 0 / 0.6071 GB, free: 4.344 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.1013, allocations: 0 / 0.6071 GB, free: 4.344 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.28e-05/0.1013, allocations: 0 / 0.6071 GB, free: 4.344 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.1015, allocations: 11.98 kB / 0.6071 GB, free: 4.332 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.1016, allocations: 11.94 kB / 0.6071 GB, free: 4.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.659e-05/0.1017, allocations: 3.984 kB / 0.6071 GB, free: 4.316 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.1018, allocations: 4 kB / 0.6071 GB, free: 4.312 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.1018, allocations: 0 / 0.6071 GB, free: 4.312 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1019, allocations: 4 kB / 0.6071 GB, free: 4.309 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.102, allocations: 35.95 kB / 0.6071 GB, free: 4.273 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1021, allocations: 3.938 kB / 0.6071 GB, free: 4.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1021, allocations: 29.7 kB / 0.6072 GB, free: 4.234 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.1022, allocations: 19.97 kB / 0.6072 GB, free: 4.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1022, allocations: 0 / 0.6072 GB, free: 4.215 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1022, allocations: 4 kB / 0.6072 GB, free: 4.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1023, allocations: 3.938 kB / 0.6072 GB, free: 4.207 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003959/0.1027, allocations: 323.3 kB / 0.6075 GB, free: 3.844 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.1027, allocations: 8.031 kB / 0.6075 GB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1028, allocations: 7.953 kB / 0.6075 GB, free: 3.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.1029, allocations: 167.3 kB / 0.6077 GB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.103, allocations: 4 kB / 0.6077 GB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.103, allocations: 4 kB / 0.6077 GB, free: 3.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1032, allocations: 55.34 kB / 0.6077 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1032, allocations: 0 / 0.6077 GB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.1032, allocations: 3.984 kB / 0.6077 GB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1033, allocations: 0 / 0.6077 GB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.1034, allocations: 19.95 kB / 0.6077 GB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1037, allocations: 321.2 kB / 0.6081 GB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.472e-05/0.1038, allocations: 22.52 kB / 0.6081 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.1039, allocations: 20.8 kB / 0.6081 GB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.104, allocations: 0 / 0.6081 GB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.104, allocations: 34.56 kB / 0.6081 GB, free: 3.062 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.256e-06/0.104, allocations: 0 / 0.6081 GB, free: 3.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003042/0.1044, allocations: 61.67 kB / 0.6082 GB, free: 2.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.1044, allocations: 51.41 kB / 0.6082 GB, free: 2.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/0.1045, allocations: 97.84 kB / 0.6083 GB, free: 2.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1045, allocations: 25.7 kB / 0.6084 GB, free: 2.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.1046, allocations: 88.05 kB / 0.6084 GB, free: 2.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.1046, allocations: 11.94 kB / 0.6084 GB, free: 2.695 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.964e-06/0.1047, allocations: 4 kB / 0.6085 GB, free: 2.691 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.046e-05/0.1048, allocations: 318.8 kB / 0.6088 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.1048, allocations: 4 kB / 0.6088 GB, free: 2.367 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.1049, allocations: 21.72 kB / 0.6088 GB, free: 2.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.274e-05/0.105, allocations: 8 kB / 0.6088 GB, free: 2.332 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.105, allocations: 0 / 0.6088 GB, free: 2.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002278/0.1052, allocations: 57.62 kB / 0.6088 GB, free: 2.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1053, allocations: 8.031 kB / 0.6088 GB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1053, allocations: 3.984 kB / 0.6089 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1054, allocations: 3.938 kB / 0.6089 GB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1055, allocations: 8 kB / 0.6089 GB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1055, allocations: 3.953 kB / 0.6089 GB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.1056, allocations: 7.938 kB / 0.6089 GB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1056, allocations: 0 / 0.6089 GB, free: 2.234 MB / 362.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 8.769e-05/0.1057, allocations: 116.2 kB / 0.609 GB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.1058, allocations: 0 / 0.609 GB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.106, allocations: 69.11 kB / 0.6091 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1061, allocations: 0 / 0.6091 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1061, allocations: 0 / 0.6091 GB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.1061, allocations: 88.97 kB / 0.6091 GB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1062, allocations: 0 / 0.6091 GB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1063, allocations: 0 / 0.6091 GB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.1064, allocations: 4 kB / 0.6091 GB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002009/0.1066, allocations: 132.9 kB / 0.6093 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002185/0.1068, allocations: 230.8 kB / 0.6095 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.941e-05/0.1069, allocations: 12.3 kB / 0.6095 GB, free: 1.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.159e-05/0.107, allocations: 79.28 kB / 0.6096 GB, free: 1.461 MB / 362.7 MB Notification: Performance of Backend: time 1.162e-06/0.107, allocations: 0 / 0.6096 GB, free: 1.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.1077, allocations: 98.33 kB / 0.6097 GB, free: 1.359 MB / 362.7 MB Notification: Performance of SimCode: time 0.000372/0.1081, allocations: 0.5473 MB / 0.6102 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of Templates: time 0.0048/0.1129, allocations: 0.5662 MB / 0.6108 GB, free: 200 kB / 362.7 MB "" Variables in the reference:time,x,y,yd,k1,k2 Variables in the result:k1,k2,time,x,x_small,y,yd