Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002631/0.002637, allocations: 347.5 kB / 15.94 MB, free: 6.199 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.468/3.468, 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.00355/0.00355, allocations: 233.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.4646/0.4646, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 8 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08719, allocations: 48.7 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0006855/0.08794, allocations: 228.6 kB / 0.607 GB, free: 4.445 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.08983, allocations: 1.326 MB / 0.6082 GB, free: 3.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.08989, allocations: 0 / 0.6082 GB, free: 3.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.08992, allocations: 0 / 0.6082 GB, free: 3.102 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.08997, allocations: 0 / 0.6082 GB, free: 3.102 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.09075, allocations: 163.6 kB / 0.6084 GB, free: 2.941 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.134e-05/0.09081, allocations: 4 kB / 0.6084 GB, free: 2.938 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.522e-05/0.09086, allocations: 4 kB / 0.6084 GB, free: 2.934 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.09089, allocations: 4 kB / 0.6084 GB, free: 2.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.09095, allocations: 11.92 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.09098, allocations: 3.984 kB / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005095/0.09149, allocations: 251.7 kB / 0.6087 GB, free: 2.668 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.09152, allocations: 3.984 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.09155, allocations: 25.7 kB / 0.6087 GB, free: 2.633 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.09172, allocations: 83.83 kB / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.09173, allocations: 0 / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.09174, allocations: 0 / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.09176, allocations: 4 kB / 0.6088 GB, free: 2.547 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003423/0.09211, allocations: 335.2 kB / 0.6091 GB, free: 2.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.09216, allocations: 8.031 kB / 0.6091 GB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.0922, allocations: 7.984 kB / 0.6091 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.027e-05/0.0923, allocations: 159.4 kB / 0.6093 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.09233, allocations: 4 kB / 0.6093 GB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.09235, allocations: 3.984 kB / 0.6093 GB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.343e-05/0.09245, allocations: 29.7 kB / 0.6093 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.09247, allocations: 7.938 kB / 0.6093 GB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.09249, allocations: 3.953 kB / 0.6093 GB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.09251, allocations: 0 / 0.6093 GB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.639e-05/0.09254, allocations: 7.984 kB / 0.6093 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.09267, allocations: 145.7 kB / 0.6095 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/0.09272, allocations: 22.55 kB / 0.6095 GB, free: 1.676 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.09275, allocations: 4.859 kB / 0.6095 GB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.09277, allocations: 0 / 0.6095 GB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.0928, allocations: 42.61 kB / 0.6095 GB, free: 1.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.09281, allocations: 0 / 0.6095 GB, free: 1.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.00013/0.09294, allocations: 29.7 kB / 0.6096 GB, free: 1.582 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.09298, allocations: 63.3 kB / 0.6096 GB, free: 1.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.067e-05/0.09304, allocations: 93.86 kB / 0.6097 GB, free: 1.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.09306, allocations: 25.7 kB / 0.6097 GB, free: 1.375 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.09309, allocations: 84.33 kB / 0.6098 GB, free: 1.289 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.09312, allocations: 11.94 kB / 0.6098 GB, free: 1.277 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.09314, allocations: 0 / 0.6098 GB, free: 1.277 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.09321, allocations: 314.8 kB / 0.6101 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.09323, allocations: 4 kB / 0.6101 GB, free: 0.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.09325, allocations: 4 kB / 0.6101 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.849e-05/0.09328, allocations: 0 / 0.6101 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.09329, allocations: 0 / 0.6101 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.411e-05/0.09336, allocations: 37.61 kB / 0.6102 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.09339, allocations: 4.094 kB / 0.6102 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.0934, allocations: 4 kB / 0.6102 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.09342, allocations: 4 kB / 0.6102 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.0935, allocations: 7.984 kB / 0.6102 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.09352, allocations: 3.938 kB / 0.6102 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.09355, allocations: 3.953 kB / 0.6102 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.09357, allocations: 0 / 0.6102 GB, free: 0.8828 MB / 362.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.758e-05/0.09363, allocations: 112.2 kB / 0.6103 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.09365, allocations: 0 / 0.6103 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.0938, allocations: 48.81 kB / 0.6103 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.09381, allocations: 0 / 0.6103 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.09383, allocations: 0 / 0.6103 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.09386, allocations: 77.11 kB / 0.6104 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.09388, allocations: 7.953 kB / 0.6104 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.09397, allocations: 0 / 0.6104 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.094, allocations: 3.984 kB / 0.6104 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.557e-05/0.09408, allocations: 121 kB / 0.6105 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 9.788e-05/0.09419, allocations: 198.8 kB / 0.6107 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.163e-05/0.09422, allocations: 3.984 kB / 0.6107 GB, free: 276 kB / 362.7 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.09426, allocations: 91.17 kB / 0.6108 GB, free: 184 kB / 362.7 MB Notification: Performance of Backend: time 9.92e-07/0.09427, allocations: 160 / 0.6108 GB, free: 184 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.09489, allocations: 122.3 kB / 0.6109 GB, free: 56 kB / 362.7 MB Notification: Performance of SimCode: time 0.2583/0.3532, allocations: 0.5516 MB / 0.6115 GB, free: 90.15 MB / 362.7 MB Notification: Performance of Templates: time 0.004455/0.3577, allocations: 1.051 MB / 0.6125 GB, free: 90.15 MB / 362.7 MB "" Variables in the reference:time,x Variables in the result:a,b,time,x