Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations.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.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.ComplexMath.TestComplexOperations") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002752/0.002757, allocations: 367.5 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 4.222/4.222, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003592/0.003592, allocations: 216.7 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.6094/0.6094, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007258/0.000726, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1411, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.0007515/0.1419, allocations: 208.4 kB / 0.6803 GB, free: 41.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005483/0.1474, allocations: 2.145 MB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1475, allocations: 0 / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.1475, allocations: 0 / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.608e-06/0.1476, allocations: 4 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004645/0.1522, allocations: 0.8936 MB / 0.6833 GB, free: 38.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.394e-05/0.1523, allocations: 0 / 0.6833 GB, free: 38.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1524, allocations: 7.922 kB / 0.6833 GB, free: 38.4 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.1524, allocations: 0 / 0.6833 GB, free: 38.4 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.857e-05/0.1524, allocations: 4 kB / 0.6833 GB, free: 38.39 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.1525, allocations: 0 / 0.6833 GB, free: 38.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.1552, allocations: 0.8897 MB / 0.6841 GB, free: 37.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.1553, allocations: 3.938 kB / 0.6841 GB, free: 37.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.1553, allocations: 29.7 kB / 0.6842 GB, free: 37.46 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008227/0.1562, allocations: 259.5 kB / 0.6844 GB, free: 37.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1562, allocations: 0 / 0.6844 GB, free: 37.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1562, allocations: 0 / 0.6844 GB, free: 37.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1563, allocations: 0 / 0.6844 GB, free: 37.21 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.0005428/0.1568, allocations: 436.8 kB / 0.6848 GB, free: 36.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.1569, allocations: 8.031 kB / 0.6848 GB, free: 36.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.157, allocations: 0 / 0.6848 GB, free: 36.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.588e-05/0.1571, allocations: 159.1 kB / 0.685 GB, free: 36.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1571, allocations: 4 kB / 0.685 GB, free: 36.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1571, allocations: 0 / 0.685 GB, free: 36.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1572, allocations: 33.69 kB / 0.685 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1573, allocations: 0 / 0.685 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1573, allocations: 7.922 kB / 0.685 GB, free: 36.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1573, allocations: 3.953 kB / 0.685 GB, free: 36.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.1574, allocations: 4 kB / 0.6851 GB, free: 36.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.1575, allocations: 146 kB / 0.6852 GB, free: 36.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.754e-05/0.1576, allocations: 26.52 kB / 0.6852 GB, free: 36.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.1576, allocations: 8.953 kB / 0.6852 GB, free: 36.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.1577, allocations: 0 / 0.6852 GB, free: 36.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.1577, allocations: 60.25 kB / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.445e-06/0.1578, allocations: 0 / 0.6853 GB, free: 36.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002178/0.158, allocations: 63.41 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.158, allocations: 81.05 kB / 0.6854 GB, free: 35.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.695e-05/0.1581, allocations: 97.94 kB / 0.6855 GB, free: 35.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1581, allocations: 25.7 kB / 0.6855 GB, free: 35.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.077e-05/0.1582, allocations: 80.14 kB / 0.6856 GB, free: 35.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1582, allocations: 7.938 kB / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1582, allocations: 0 / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.1583, allocations: 314.8 kB / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.1583, allocations: 0 / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.173e-05/0.1584, allocations: 0 / 0.6859 GB, free: 35.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.288e-05/0.1584, allocations: 29.7 kB / 0.6859 GB, free: 35.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1584, allocations: 4.062 kB / 0.686 GB, free: 35.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001062/0.1586, allocations: 63.41 kB / 0.686 GB, free: 35.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.1586, allocations: 33.69 kB / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1586, allocations: 0 / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1587, allocations: 0 / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.1587, allocations: 0 / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1587, allocations: 3.984 kB / 0.686 GB, free: 35.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.1588, allocations: 7.938 kB / 0.6861 GB, free: 35.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.1588, allocations: 7.891 kB / 0.6861 GB, free: 35.27 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 8.809e-05/0.1589, allocations: 136.4 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.1589, allocations: 4 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.322e-05/0.159, allocations: 7.078 kB / 0.6862 GB, free: 35.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.159, allocations: 0 / 0.6862 GB, free: 35.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.159, allocations: 0 / 0.6862 GB, free: 35.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.159, allocations: 81.09 kB / 0.6863 GB, free: 35.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1591, allocations: 3.953 kB / 0.6863 GB, free: 35.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.1591, allocations: 11.94 kB / 0.6863 GB, free: 35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.1591, allocations: 4 kB / 0.6863 GB, free: 35 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001139/0.1593, allocations: 194.1 kB / 0.6865 GB, free: 34.78 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001384/0.1594, allocations: 236.5 kB / 0.6867 GB, free: 34.53 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.549e-05/0.1595, allocations: 4 kB / 0.6867 GB, free: 34.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.134e-05/0.1595, allocations: 79.27 kB / 0.6868 GB, free: 34.45 MB / 346.7 MB Notification: Performance of Backend: time 7.01e-07/0.1595, allocations: 0 / 0.6868 GB, free: 34.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.1613, allocations: 401.1 kB / 0.6872 GB, free: 34.05 MB / 346.7 MB Notification: Performance of SimCode: time 0.0003195/0.1617, allocations: 0.5736 MB / 0.6877 GB, free: 33.41 MB / 346.7 MB Notification: Performance of Templates: time 0.01457/0.1763, allocations: 4.099 MB / 0.6917 GB, free: 29.31 MB / 346.7 MB