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.00269/0.002696, allocations: 360.2 kB / 15.95 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 4.13/4.13, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.003661/0.003661, allocations: 239 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.6776/0.6776, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006351/0.0006354, allocations: 16 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1127, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.53/0.6428, allocations: 83.88 MB / 0.762 GB, free: 1.461 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.6431, allocations: 66.09 kB / 0.7621 GB, free: 1.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04639/0.6895, allocations: 9.607 MB / 0.7714 GB, free: 9.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6896, allocations: 0 / 0.7714 GB, free: 9.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.6896, allocations: 4 kB / 0.7714 GB, free: 9.105 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.0007709/0.6904, allocations: 479.9 kB / 0.7719 GB, free: 8.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6904, allocations: 11.97 kB / 0.7719 GB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.6905, allocations: 7.078 kB / 0.7719 GB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.6906, allocations: 163.1 kB / 0.7721 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.6907, allocations: 0 / 0.7721 GB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.6907, allocations: 4 kB / 0.7721 GB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.6908, allocations: 25.7 kB / 0.7721 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.6908, allocations: 0 / 0.7721 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.6908, allocations: 0 / 0.7721 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.6909, allocations: 0 / 0.7721 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.6909, allocations: 11.95 kB / 0.7721 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.6911, allocations: 153.9 kB / 0.7723 GB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/0.6911, allocations: 22.55 kB / 0.7723 GB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.6912, allocations: 9.281 kB / 0.7723 GB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.577e-06/0.6912, allocations: 0 / 0.7723 GB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.6913, allocations: 56.27 kB / 0.7723 GB, free: 8.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.6913, allocations: 4 kB / 0.7724 GB, free: 8.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002047/0.6915, allocations: 66.2 kB / 0.7724 GB, free: 7.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.6916, allocations: 81.05 kB / 0.7725 GB, free: 7.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/0.6916, allocations: 93.86 kB / 0.7726 GB, free: 7.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6917, allocations: 25.7 kB / 0.7726 GB, free: 7.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.6917, allocations: 80.14 kB / 0.7727 GB, free: 7.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.6917, allocations: 0 / 0.7727 GB, free: 7.625 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.6917, allocations: 0 / 0.7727 GB, free: 7.625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6919, allocations: 322.4 kB / 0.773 GB, free: 7.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.6919, allocations: 0 / 0.773 GB, free: 7.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.692, allocations: 4 kB / 0.773 GB, free: 7.301 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.692, allocations: 25.7 kB / 0.773 GB, free: 7.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.692, allocations: 0 / 0.773 GB, free: 7.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.761e-05/0.6921, allocations: 63.39 kB / 0.7731 GB, free: 7.195 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.6922, allocations: 33.64 kB / 0.7731 GB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6922, allocations: 0 / 0.7731 GB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6922, allocations: 4 kB / 0.7731 GB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.6922, allocations: 96 / 0.7731 GB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.6922, allocations: 4 kB / 0.7731 GB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.6923, allocations: 4 kB / 0.7731 GB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.6923, allocations: 3.938 kB / 0.7731 GB, free: 7.141 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: 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 0.0001158/0.6924, allocations: 147.3 kB / 0.7733 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-06/0.6924, allocations: 0 / 0.7733 GB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.6925, allocations: 7.078 kB / 0.7733 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6925, allocations: 0 / 0.7733 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6925, allocations: 0 / 0.7733 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6925, allocations: 0 / 0.7733 GB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.6926, allocations: 157.6 kB / 0.7734 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6927, allocations: 0 / 0.7734 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.6927, allocations: 0 / 0.7734 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6927, allocations: 0 / 0.7734 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.6927, allocations: 0 / 0.7734 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6927, allocations: 0 / 0.7734 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6927, allocations: 0 / 0.7734 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.6928, allocations: 97.59 kB / 0.7735 GB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.6929, allocations: 81.14 kB / 0.7736 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.693, allocations: 4 kB / 0.7736 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.126e-05/0.693, allocations: 3.938 kB / 0.7736 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.693, allocations: 3.938 kB / 0.7736 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.693, allocations: 0 / 0.7736 GB, free: 6.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.6931, allocations: 79.28 kB / 0.7737 GB, free: 6.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6931, allocations: 0 / 0.7737 GB, free: 6.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009197/0.694, allocations: 179.3 kB / 0.7739 GB, free: 6.312 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001186/0.6952, allocations: 398 kB / 0.7742 GB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.6954, allocations: 66.89 kB / 0.7743 GB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6954, allocations: 8 kB / 0.7743 GB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.6955, allocations: 55.41 kB / 0.7744 GB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.6956, allocations: 11.53 kB / 0.7744 GB, free: 5.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002315/0.6959, allocations: 79.25 kB / 0.7744 GB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.6962, allocations: 0.6692 MB / 0.7751 GB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.932e-06/0.6962, allocations: 0 / 0.7751 GB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.6963, allocations: 11.44 kB / 0.7751 GB, free: 4.977 MB / 362.7 MB Notification: Performance of SimCode: time 3.146e-06/0.6963, allocations: 0 / 0.7751 GB, free: 4.977 MB / 362.7 MB Notification: Performance of Templates: time 0.01237/0.7087, allocations: 4.052 MB / 0.7791 GB, free: 0.9336 MB / 362.7 MB