Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003961/0.003967, allocations: 360.3 kB / 15.96 MB, free: 6.207 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.876/3.876, allocations: 388.9 MB / 405.6 MB, free: 9.629 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.006873/0.006871, allocations: 225.9 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.5128/0.5128, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004577, allocations: 8 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09505, allocations: 54.88 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0005885/0.09569, allocations: 228.4 kB / 0.6803 GB, free: 41.4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.09748, allocations: 1.328 MB / 0.6816 GB, free: 40.05 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.09753, allocations: 4 kB / 0.6816 GB, free: 40.05 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.09756, allocations: 0 / 0.6816 GB, free: 40.05 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.546e-05/0.0976, allocations: 3.938 kB / 0.6816 GB, free: 40.05 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.09833, allocations: 151.2 kB / 0.6818 GB, free: 39.9 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.716e-05/0.09838, allocations: 11.94 kB / 0.6818 GB, free: 39.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.09843, allocations: 3.984 kB / 0.6818 GB, free: 39.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.09846, allocations: 4 kB / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.09851, allocations: 0 / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.09856, allocations: 0 / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.09907, allocations: 263.6 kB / 0.682 GB, free: 39.62 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/0.09909, allocations: 4 kB / 0.682 GB, free: 39.62 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.09912, allocations: 29.7 kB / 0.6821 GB, free: 39.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.09928, allocations: 87.8 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.0993, allocations: 4 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.09931, allocations: 0 / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.09932, allocations: 0 / 0.6822 GB, free: 39.5 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002956/0.09963, allocations: 327.3 kB / 0.6825 GB, free: 39.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.09968, allocations: 8.031 kB / 0.6825 GB, free: 39.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.09972, allocations: 0 / 0.6825 GB, free: 39.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.135e-05/0.09981, allocations: 167.4 kB / 0.6826 GB, free: 38.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.09983, allocations: 0 / 0.6826 GB, free: 38.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.09985, allocations: 0 / 0.6826 GB, free: 38.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.09995, allocations: 41.62 kB / 0.6827 GB, free: 38.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.09997, allocations: 0 / 0.6827 GB, free: 38.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.09999, allocations: 3.953 kB / 0.6827 GB, free: 38.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1, allocations: 0 / 0.6827 GB, free: 38.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.334e-05/0.1, allocations: 0 / 0.6827 GB, free: 38.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.1002, allocations: 149.7 kB / 0.6828 GB, free: 38.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.615e-05/0.1002, allocations: 26.61 kB / 0.6828 GB, free: 38.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.1002, allocations: 4.859 kB / 0.6829 GB, free: 38.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.1003, allocations: 0 / 0.6829 GB, free: 38.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1003, allocations: 38.44 kB / 0.6829 GB, free: 38.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.114e-06/0.1003, allocations: 0 / 0.6829 GB, free: 38.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.1004, allocations: 37.7 kB / 0.6829 GB, free: 38.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.1005, allocations: 59.48 kB / 0.683 GB, free: 38.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.465e-05/0.1005, allocations: 101.8 kB / 0.6831 GB, free: 38.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.1006, allocations: 25.7 kB / 0.6831 GB, free: 38.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.831e-05/0.1006, allocations: 80.14 kB / 0.6832 GB, free: 38.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1006, allocations: 7.844 kB / 0.6832 GB, free: 38.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.1006, allocations: 0 / 0.6832 GB, free: 38.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.1007, allocations: 314.8 kB / 0.6835 GB, free: 37.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.1007, allocations: 0 / 0.6835 GB, free: 37.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.1007, allocations: 4.125 kB / 0.6835 GB, free: 37.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.002e-05/0.1008, allocations: 8 kB / 0.6835 GB, free: 37.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1008, allocations: 3.938 kB / 0.6835 GB, free: 37.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.298e-05/0.1008, allocations: 37.67 kB / 0.6835 GB, free: 37.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1009, allocations: 8 kB / 0.6835 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1009, allocations: 0 / 0.6835 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1009, allocations: 0 / 0.6835 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.101, allocations: 0 / 0.6835 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.101, allocations: 0 / 0.6835 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.101, allocations: 7.953 kB / 0.6836 GB, free: 37.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.101, allocations: 4.094 kB / 0.6836 GB, free: 37.84 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 (1): * Single equations (assignments): 1 * 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.264e-05/0.1011, allocations: 106.6 kB / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.1011, allocations: 3.984 kB / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1012, allocations: 48.72 kB / 0.6837 GB, free: 37.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1013, allocations: 4 kB / 0.6837 GB, free: 37.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.1013, allocations: 4.031 kB / 0.6837 GB, free: 37.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.1013, allocations: 81.09 kB / 0.6838 GB, free: 37.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1013, allocations: 3.953 kB / 0.6838 GB, free: 37.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-05/0.1014, allocations: 4 kB / 0.6838 GB, free: 37.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.1014, allocations: 0 / 0.6838 GB, free: 37.56 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.977e-05/0.1015, allocations: 105 kB / 0.6839 GB, free: 37.45 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.362e-05/0.1016, allocations: 214.8 kB / 0.6841 GB, free: 37.23 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.075e-05/0.1017, allocations: 8 kB / 0.6841 GB, free: 37.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.009e-05/0.1017, allocations: 83.23 kB / 0.6842 GB, free: 37.14 MB / 346.7 MB Notification: Performance of Backend: time 7.71e-07/0.1017, allocations: 0 / 0.6842 GB, free: 37.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005993/0.1023, allocations: 118.4 kB / 0.6843 GB, free: 37.02 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002918/0.1026, allocations: 0.5641 MB / 0.6849 GB, free: 36.4 MB / 346.7 MB Notification: Performance of Templates: time 0.003826/0.1065, allocations: 1.052 MB / 0.6859 GB, free: 35.35 MB / 346.7 MB "" Variables in the reference:time,x Variables in the result:a,b,time,x