Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004799/0.004799, allocations: 348.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.378/3.378, allocations: 341.5 MB / 358.2 MB, free: 28.63 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003552/0.003552, allocations: 216.6 kB / 397.9 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5081/0.5081, allocations: 76.1 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 16 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08387/0.08436, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007039/0.08512, allocations: 298.1 kB / 0.607 GB, free: 11.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003345/0.08547, allocations: 113.8 kB / 0.6071 GB, free: 11.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.08552, allocations: 0 / 0.6071 GB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.08555, allocations: 0 / 0.6071 GB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.08579, allocations: 27.92 kB / 0.6072 GB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.855e-06/0.0858, allocations: 0 / 0.6072 GB, free: 11.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.08588, allocations: 19.92 kB / 0.6072 GB, free: 11.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.08595, allocations: 3.984 kB / 0.6072 GB, free: 11.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.08598, allocations: 7.938 kB / 0.6072 GB, free: 11.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.08604, allocations: 19.91 kB / 0.6072 GB, free: 11.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.08606, allocations: 0 / 0.6072 GB, free: 11.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.0862, allocations: 47.89 kB / 0.6073 GB, free: 11.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-06/0.08622, allocations: 7.984 kB / 0.6073 GB, free: 11.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.08625, allocations: 29.7 kB / 0.6073 GB, free: 10.97 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.596e-05/0.08634, allocations: 31.95 kB / 0.6073 GB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.08636, allocations: 4 kB / 0.6073 GB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.08637, allocations: 0 / 0.6073 GB, free: 10.94 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.08638, allocations: 0 / 0.6073 GB, free: 10.94 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002414/0.08663, allocations: 331.6 kB / 0.6076 GB, free: 10.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.08669, allocations: 11.97 kB / 0.6077 GB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.08673, allocations: 7.844 kB / 0.6077 GB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.11e-05/0.08682, allocations: 167.1 kB / 0.6078 GB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.08685, allocations: 3.953 kB / 0.6078 GB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.08687, allocations: 4 kB / 0.6078 GB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.08703, allocations: 65.59 kB / 0.6079 GB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.08706, allocations: 4 kB / 0.6079 GB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.08708, allocations: 4 kB / 0.6079 GB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.08709, allocations: 3.938 kB / 0.6079 GB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.08724, allocations: 47.95 kB / 0.6079 GB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.08741, allocations: 173.7 kB / 0.6081 GB, free: 9.988 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.08759, allocations: 78.52 kB / 0.6082 GB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.805e-05/0.08767, allocations: 33.12 kB / 0.6082 GB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/0.08804, allocations: 259.2 kB / 0.6085 GB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.08807, allocations: 30.56 kB / 0.6085 GB, free: 9.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.08808, allocations: 0 / 0.6085 GB, free: 9.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002737/0.08836, allocations: 101.6 kB / 0.6086 GB, free: 9.414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.0884, allocations: 59.41 kB / 0.6087 GB, free: 9.344 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.08846, allocations: 93.86 kB / 0.6087 GB, free: 9.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.08848, allocations: 25.7 kB / 0.6088 GB, free: 9.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.641e-05/0.0885, allocations: 80.14 kB / 0.6088 GB, free: 9.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.08855, allocations: 35.45 kB / 0.6089 GB, free: 9.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-06/0.08857, allocations: 4 kB / 0.6089 GB, free: 9.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.08863, allocations: 314.8 kB / 0.6092 GB, free: 8.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.08869, allocations: 15.98 kB / 0.6092 GB, free: 8.758 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.08874, allocations: 20 kB / 0.6092 GB, free: 8.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.829e-05/0.08881, allocations: 16.69 kB / 0.6092 GB, free: 8.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.08882, allocations: 4 kB / 0.6092 GB, free: 8.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001595/0.08899, allocations: 97.5 kB / 0.6093 GB, free: 8.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.08902, allocations: 4 kB / 0.6093 GB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.08904, allocations: 0 / 0.6093 GB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.08906, allocations: 0 / 0.6093 GB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.08922, allocations: 19.94 kB / 0.6093 GB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.08924, allocations: 0 / 0.6093 GB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.08929, allocations: 11.84 kB / 0.6094 GB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.08931, allocations: 4 kB / 0.6094 GB, free: 8.578 MB / 282.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 (10): * Single equations (assignments): 10 * 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 6.968e-05/0.08939, allocations: 119.1 kB / 0.6095 GB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.08941, allocations: 15.89 kB / 0.6095 GB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.08965, allocations: 97.58 kB / 0.6096 GB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.08967, allocations: 0 / 0.6096 GB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.08968, allocations: 0 / 0.6096 GB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.08971, allocations: 85.02 kB / 0.6097 GB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.08973, allocations: 3.984 kB / 0.6097 GB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.08978, allocations: 0 / 0.6097 GB, free: 8.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.08982, allocations: 8 kB / 0.6097 GB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002212/0.09005, allocations: 168.9 kB / 0.6098 GB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001915/0.09026, allocations: 259 kB / 0.6101 GB, free: 7.781 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.129e-05/0.09033, allocations: 32.02 kB / 0.6101 GB, free: 7.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.892e-05/0.09036, allocations: 75.28 kB / 0.6102 GB, free: 7.676 MB / 282.7 MB Notification: Performance of Backend: time 7.62e-07/0.09037, allocations: 0 / 0.6102 GB, free: 7.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004752/0.09085, allocations: 122.4 kB / 0.6103 GB, free: 7.551 MB / 282.7 MB Notification: Performance of SimCode: time 0.0003156/0.09118, allocations: 0.5663 MB / 0.6109 GB, free: 6.934 MB / 282.7 MB Notification: Performance of Templates: time 0.003788/0.09499, allocations: 0.8625 MB / 0.6117 GB, free: 6.07 MB / 282.7 MB "" Variables in the reference:time,x,sqrtx,sqrtx_a,x2,x2_a,x3,x3_a,sqrtxerr,x2err,x3err Variables in the result:delta,sqrtx,sqrtx_a,sqrtxerr,time,x,x2,x2_a,x2err,x3,x3_a,x3err