Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions.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.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002677/0.002676, allocations: 364.8 kB / 15.96 MB, free: 6.199 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.999/3.999, allocations: 388.9 MB / 405.6 MB, free: 10.31 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.003507/0.003507, allocations: 231.8 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.5792/0.5792, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004666, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1336, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.0006004/0.1343, allocations: 220.3 kB / 0.6803 GB, free: 41.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1363, allocations: 1.347 MB / 0.6816 GB, free: 40.09 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.73e-05/0.1364, allocations: 0 / 0.6816 GB, free: 40.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.1364, allocations: 0 / 0.6816 GB, free: 40.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.674e-06/0.1364, allocations: 3.938 kB / 0.6816 GB, free: 40.08 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.1371, allocations: 86.05 kB / 0.6817 GB, free: 40 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.367e-05/0.1371, allocations: 4 kB / 0.6817 GB, free: 40 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.1372, allocations: 7.984 kB / 0.6817 GB, free: 39.99 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.657e-05/0.1372, allocations: 0 / 0.6817 GB, free: 39.99 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.603e-05/0.1372, allocations: 0 / 0.6817 GB, free: 39.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.1373, allocations: 0 / 0.6817 GB, free: 39.99 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.1374, allocations: 43.91 kB / 0.6818 GB, free: 39.95 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.1375, allocations: 3.984 kB / 0.6818 GB, free: 39.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.1375, allocations: 25.7 kB / 0.6818 GB, free: 39.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.139e-05/0.1376, allocations: 27.97 kB / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1376, allocations: 0 / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1376, allocations: 0 / 0.6818 GB, free: 39.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1376, allocations: 0 / 0.6818 GB, free: 39.88 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.0002474/0.1379, allocations: 337 kB / 0.6821 GB, free: 39.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1379, allocations: 8.031 kB / 0.6821 GB, free: 39.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.138, allocations: 8 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.589e-05/0.1381, allocations: 167 kB / 0.6823 GB, free: 39.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1381, allocations: 0 / 0.6823 GB, free: 39.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1381, allocations: 0 / 0.6823 GB, free: 39.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.1382, allocations: 37.69 kB / 0.6823 GB, free: 39.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1382, allocations: 3.953 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1382, allocations: 0 / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1382, allocations: 3.938 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.1383, allocations: 0 / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.1384, allocations: 153.7 kB / 0.6825 GB, free: 39.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.434e-05/0.1384, allocations: 14.58 kB / 0.6825 GB, free: 39.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.1385, allocations: 4.859 kB / 0.6825 GB, free: 39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1385, allocations: 8.031 kB / 0.6825 GB, free: 38.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.1385, allocations: 60.27 kB / 0.6826 GB, free: 38.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.1385, allocations: 3.938 kB / 0.6826 GB, free: 38.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001782/0.1387, allocations: 71.28 kB / 0.6827 GB, free: 38.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.1388, allocations: 81.23 kB / 0.6827 GB, free: 38.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.661e-05/0.1388, allocations: 89.86 kB / 0.6828 GB, free: 38.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1388, allocations: 25.7 kB / 0.6828 GB, free: 38.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.744e-05/0.1389, allocations: 80.14 kB / 0.6829 GB, free: 38.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.1389, allocations: 0 / 0.6829 GB, free: 38.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.139, allocations: 4 kB / 0.6829 GB, free: 38.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.139, allocations: 314.8 kB / 0.6832 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.139, allocations: 0 / 0.6832 GB, free: 38.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.1391, allocations: 4 kB / 0.6832 GB, free: 38.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.1391, allocations: 29.7 kB / 0.6833 GB, free: 38.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1391, allocations: 0 / 0.6833 GB, free: 38.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.11e-05/0.1392, allocations: 63.33 kB / 0.6833 GB, free: 38.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.1392, allocations: 33.7 kB / 0.6834 GB, free: 38.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1393, allocations: 0 / 0.6834 GB, free: 38.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1393, allocations: 0 / 0.6834 GB, free: 38.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.1393, allocations: 0 / 0.6834 GB, free: 38.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1393, allocations: 3.953 kB / 0.6834 GB, free: 38.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.979e-05/0.1393, allocations: 96 / 0.6834 GB, free: 38.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1393, allocations: 8 kB / 0.6834 GB, free: 38.04 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.849e-05/0.1394, allocations: 144.3 kB / 0.6835 GB, free: 37.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.1394, allocations: 0 / 0.6835 GB, free: 37.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.122e-05/0.1395, allocations: 11.08 kB / 0.6835 GB, free: 37.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1395, allocations: 0 / 0.6835 GB, free: 37.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1395, allocations: 0 / 0.6835 GB, free: 37.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.1395, allocations: 81.06 kB / 0.6836 GB, free: 37.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1395, allocations: 0 / 0.6836 GB, free: 37.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.223e-05/0.1396, allocations: 0 / 0.6836 GB, free: 37.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.1396, allocations: 4 kB / 0.6836 GB, free: 37.77 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001043/0.1397, allocations: 202 kB / 0.6838 GB, free: 37.55 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001089/0.1398, allocations: 236.5 kB / 0.684 GB, free: 37.3 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.239e-05/0.1399, allocations: 7.953 kB / 0.684 GB, free: 37.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.657e-05/0.1399, allocations: 75.28 kB / 0.6841 GB, free: 37.21 MB / 346.7 MB Notification: Performance of Backend: time 7.51e-07/0.1399, allocations: 8 kB / 0.6841 GB, free: 37.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006298/0.1405, allocations: 178.9 kB / 0.6843 GB, free: 37.02 MB / 346.7 MB Notification: Performance of SimCode: time 0.0002566/0.1408, allocations: 0.5775 MB / 0.6848 GB, free: 36.38 MB / 346.7 MB Notification: Performance of Templates: time 0.003571/0.1444, allocations: 0.6169 MB / 0.6854 GB, free: 35.77 MB / 346.7 MB