Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00388/0.003879, allocations: 346.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.453/3.453, allocations: 341.5 MB / 358.2 MB, free: 12.65 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.003501/0.0035, allocations: 225.1 kB / 397.9 MB, free: 4.988 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.47/0.47, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006284/0.0006288, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08921, allocations: 48.69 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006534/0.08993, allocations: 228.6 kB / 0.607 GB, free: 4.441 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.09174, allocations: 1.33 MB / 0.6083 GB, free: 3.094 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.09178, allocations: 0 / 0.6083 GB, free: 3.094 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.09181, allocations: 0 / 0.6083 GB, free: 3.094 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 2.522e-05/0.09185, allocations: 3.938 kB / 0.6083 GB, free: 3.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.09261, allocations: 151.7 kB / 0.6084 GB, free: 2.941 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 3.756e-05/0.09266, allocations: 7.984 kB / 0.6084 GB, free: 2.934 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.09272, allocations: 4 kB / 0.6084 GB, free: 2.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.971e-05/0.09275, allocations: 4 kB / 0.6084 GB, free: 2.926 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.246e-05/0.0928, allocations: 4 kB / 0.6084 GB, free: 2.922 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.09283, allocations: 4 kB / 0.6084 GB, free: 2.918 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005112/0.09335, allocations: 259.6 kB / 0.6087 GB, free: 2.664 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.09338, allocations: 3.984 kB / 0.6087 GB, free: 2.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.09341, allocations: 25.7 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.09357, allocations: 83.83 kB / 0.6088 GB, free: 2.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09359, allocations: 0 / 0.6088 GB, free: 2.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0936, allocations: 0 / 0.6088 GB, free: 2.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.09361, allocations: 0 / 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003091/0.09393, allocations: 331.4 kB / 0.6091 GB, free: 2.176 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.09398, allocations: 8.031 kB / 0.6091 GB, free: 2.168 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.09403, allocations: 7.906 kB / 0.6091 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.863e-05/0.0941, allocations: 167 kB / 0.6093 GB, free: 1.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.09413, allocations: 3.938 kB / 0.6093 GB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.09415, allocations: 4 kB / 0.6093 GB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.09427, allocations: 37.69 kB / 0.6093 GB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.09429, allocations: 4 kB / 0.6093 GB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.09432, allocations: 3.953 kB / 0.6093 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.09433, allocations: 0 / 0.6093 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.09438, allocations: 15.98 kB / 0.6093 GB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.09473, allocations: 237.2 kB / 0.6096 GB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/0.09478, allocations: 22.58 kB / 0.6096 GB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.09481, allocations: 8.891 kB / 0.6096 GB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.09483, allocations: 7.953 kB / 0.6096 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.09486, allocations: 34.56 kB / 0.6096 GB, free: 1.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.522e-06/0.09487, allocations: 0 / 0.6096 GB, free: 1.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001511/0.09503, allocations: 37.64 kB / 0.6097 GB, free: 1.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.09506, allocations: 51.41 kB / 0.6097 GB, free: 1.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.09513, allocations: 105.8 kB / 0.6098 GB, free: 1.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.09515, allocations: 29.64 kB / 0.6098 GB, free: 1.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.09519, allocations: 84.05 kB / 0.6099 GB, free: 1.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.09521, allocations: 256 / 0.6099 GB, free: 1.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.09522, allocations: 4 kB / 0.6099 GB, free: 1.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.558e-05/0.09528, allocations: 310.8 kB / 0.6102 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.325e-05/0.09531, allocations: 4 kB / 0.6102 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.09534, allocations: 26.56 kB / 0.6103 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.09537, allocations: 4 kB / 0.6103 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.09538, allocations: 0 / 0.6103 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.069e-05/0.09547, allocations: 49.64 kB / 0.6103 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.0955, allocations: 7.953 kB / 0.6103 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.09551, allocations: 0 / 0.6103 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.09554, allocations: 7.984 kB / 0.6103 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.09561, allocations: 4 kB / 0.6103 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.09563, allocations: 3.938 kB / 0.6103 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.09566, allocations: 7.906 kB / 0.6103 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.09568, allocations: 0 / 0.6103 GB, free: 0.7227 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.863e-05/0.09575, allocations: 112.3 kB / 0.6104 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.09579, allocations: 4 kB / 0.6104 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.09592, allocations: 48.77 kB / 0.6105 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.09594, allocations: 0 / 0.6105 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.09595, allocations: 0 / 0.6105 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.09598, allocations: 77.11 kB / 0.6106 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.096, allocations: 0 / 0.6106 GB, free: 468 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.09608, allocations: 8.031 kB / 0.6106 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.09611, allocations: 8.062 kB / 0.6106 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.463e-05/0.0962, allocations: 116.9 kB / 0.6107 GB, free: 328 kB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.81e-05/0.0963, allocations: 202.8 kB / 0.6109 GB, free: 108 kB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.978e-05/0.09633, allocations: 7.984 kB / 0.6109 GB, free: 100 kB / 362.7 MB Notification: Performance of sorting global known variables: time 2.098e-05/0.09637, allocations: 83.34 kB / 0.611 GB, free: 16 kB / 362.7 MB Notification: Performance of Backend: time 7.51e-07/0.09638, allocations: 0 / 0.611 GB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.2718/0.3681, allocations: 116.5 kB / 0.6111 GB, free: 90.67 MB / 362.7 MB Notification: Performance of SimCode: time 0.0003309/0.3685, allocations: 0.5579 MB / 0.6116 GB, free: 90.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005031/0.3736, allocations: 1.043 MB / 0.6126 GB, free: 90.07 MB / 362.7 MB "" Variables in the reference:time,x,a,b Variables in the result:a,b,time,x