Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.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.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004155/0.004161, allocations: 364.7 kB / 15.96 MB, free: 6.203 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.855/3.855, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003509/0.003509, allocations: 223.1 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.5978/0.5978, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004557, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09286/0.09333, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007364/0.09413, allocations: 290 kB / 0.6804 GB, free: 41.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003466/0.09449, allocations: 121.8 kB / 0.6805 GB, free: 41.27 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.09454, allocations: 0 / 0.6805 GB, free: 41.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.135e-05/0.09457, allocations: 3.938 kB / 0.6805 GB, free: 41.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.09483, allocations: 27.86 kB / 0.6805 GB, free: 41.23 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.517e-06/0.09484, allocations: 0 / 0.6805 GB, free: 41.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.0949, allocations: 19.92 kB / 0.6805 GB, free: 41.21 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.09496, allocations: 3.984 kB / 0.6805 GB, free: 41.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.09499, allocations: 11.92 kB / 0.6806 GB, free: 41.2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.09505, allocations: 15.92 kB / 0.6806 GB, free: 41.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.09508, allocations: 4 kB / 0.6806 GB, free: 41.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.09522, allocations: 43.95 kB / 0.6806 GB, free: 41.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.09524, allocations: 15.92 kB / 0.6806 GB, free: 41.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.09528, allocations: 29.7 kB / 0.6807 GB, free: 41.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.234e-05/0.09537, allocations: 23.95 kB / 0.6807 GB, free: 41.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.09538, allocations: 0 / 0.6807 GB, free: 41.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09539, allocations: 0 / 0.6807 GB, free: 41.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.09541, allocations: 0 / 0.6807 GB, free: 41.06 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002386/0.09565, allocations: 342.9 kB / 0.681 GB, free: 40.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.0957, allocations: 8.031 kB / 0.681 GB, free: 40.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.09575, allocations: 7.953 kB / 0.681 GB, free: 40.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.758e-05/0.09585, allocations: 163.1 kB / 0.6812 GB, free: 40.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.09587, allocations: 4 kB / 0.6812 GB, free: 40.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.0959, allocations: 4 kB / 0.6812 GB, free: 40.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.09605, allocations: 61.61 kB / 0.6812 GB, free: 40.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.09607, allocations: 0 / 0.6812 GB, free: 40.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.09609, allocations: 3.938 kB / 0.6812 GB, free: 40.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.09611, allocations: 3.984 kB / 0.6812 GB, free: 40.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.09625, allocations: 55.91 kB / 0.6813 GB, free: 40.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.09644, allocations: 169.6 kB / 0.6815 GB, free: 40.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.09662, allocations: 90.58 kB / 0.6816 GB, free: 40.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.0967, allocations: 32.84 kB / 0.6816 GB, free: 39.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003598/0.09707, allocations: 251.3 kB / 0.6818 GB, free: 39.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.09711, allocations: 34.55 kB / 0.6819 GB, free: 39.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.954e-06/0.09712, allocations: 0 / 0.6819 GB, free: 39.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002688/0.0974, allocations: 101.8 kB / 0.682 GB, free: 39.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.09743, allocations: 59.41 kB / 0.682 GB, free: 39.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.0975, allocations: 93.84 kB / 0.6821 GB, free: 39.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.09752, allocations: 29.7 kB / 0.6821 GB, free: 39.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.69e-05/0.09755, allocations: 80.14 kB / 0.6822 GB, free: 39.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.09759, allocations: 35.45 kB / 0.6822 GB, free: 39.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.09761, allocations: 0 / 0.6822 GB, free: 39.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.09768, allocations: 326.8 kB / 0.6825 GB, free: 38.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.09774, allocations: 20.06 kB / 0.6826 GB, free: 38.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.09779, allocations: 19.98 kB / 0.6826 GB, free: 38.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.964e-05/0.09786, allocations: 20 kB / 0.6826 GB, free: 38.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.09788, allocations: 0 / 0.6826 GB, free: 38.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001594/0.09804, allocations: 81.62 kB / 0.6827 GB, free: 38.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.09807, allocations: 7.984 kB / 0.6827 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.09809, allocations: 0 / 0.6827 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.09811, allocations: 4 kB / 0.6827 GB, free: 38.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.09827, allocations: 12 kB / 0.6827 GB, free: 38.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.09829, allocations: 0 / 0.6827 GB, free: 38.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.09835, allocations: 16.5 kB / 0.6827 GB, free: 38.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.09837, allocations: 8 kB / 0.6827 GB, free: 38.69 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 (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.68e-05/0.09844, allocations: 114.6 kB / 0.6828 GB, free: 38.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.09847, allocations: 11.92 kB / 0.6829 GB, free: 38.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.09872, allocations: 93.58 kB / 0.6829 GB, free: 38.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.09874, allocations: 0 / 0.6829 GB, free: 38.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.09875, allocations: 0 / 0.6829 GB, free: 38.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.09879, allocations: 85.02 kB / 0.683 GB, free: 38.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.09882, allocations: 7.938 kB / 0.683 GB, free: 38.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.928e-05/0.09887, allocations: 11.89 kB / 0.683 GB, free: 38.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.0989, allocations: 7.984 kB / 0.683 GB, free: 38.33 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000191/0.0991, allocations: 164.9 kB / 0.6832 GB, free: 38.16 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001873/0.0993, allocations: 246.8 kB / 0.6834 GB, free: 37.91 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.069e-05/0.09937, allocations: 31.92 kB / 0.6835 GB, free: 37.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.969e-05/0.0994, allocations: 83.28 kB / 0.6835 GB, free: 37.79 MB / 346.7 MB Notification: Performance of Backend: time 6.41e-07/0.09941, allocations: 0 / 0.6835 GB, free: 37.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.0999, allocations: 118.4 kB / 0.6837 GB, free: 37.67 MB / 346.7 MB Notification: Performance of SimCode: time 0.0003238/0.1002, allocations: 0.5663 MB / 0.6842 GB, free: 37.05 MB / 346.7 MB Notification: Performance of Templates: time 0.003776/0.104, allocations: 0.8614 MB / 0.6851 GB, free: 36.19 MB / 346.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