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.004814/0.004821, allocations: 363.1 kB / 15.95 MB, free: 6.203 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.229/4.229, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003637/0.003636, allocations: 221.7 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.6066/0.6066, allocations: 80.01 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005138, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1059, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.5777, allocations: 80.68 MB / 0.7589 GB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.578, allocations: 65.97 kB / 0.7589 GB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02814/0.6062, allocations: 6.295 MB / 0.7651 GB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6062, allocations: 0 / 0.7651 GB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.6063, allocations: 0 / 0.7651 GB, free: 15.42 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.0004266/0.6067, allocations: 380.5 kB / 0.7654 GB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.6068, allocations: 15.97 kB / 0.7655 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.6068, allocations: 7.891 kB / 0.7655 GB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6069, allocations: 167 kB / 0.7656 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.607, allocations: 0 / 0.7656 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.607, allocations: 4 kB / 0.7656 GB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.6071, allocations: 25.7 kB / 0.7656 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6071, allocations: 0 / 0.7656 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.6071, allocations: 0 / 0.7656 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.6072, allocations: 4 kB / 0.7657 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.6072, allocations: 3.953 kB / 0.7657 GB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.6074, allocations: 149.6 kB / 0.7658 GB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.368e-05/0.6074, allocations: 26.53 kB / 0.7658 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.6075, allocations: 4.859 kB / 0.7658 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.6075, allocations: 0 / 0.7658 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.977e-05/0.6075, allocations: 56.27 kB / 0.7659 GB, free: 14.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.6076, allocations: 0 / 0.7659 GB, free: 14.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002064/0.6078, allocations: 71.14 kB / 0.7659 GB, free: 14.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.6079, allocations: 81.11 kB / 0.766 GB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.6079, allocations: 89.86 kB / 0.7661 GB, free: 14.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.6079, allocations: 25.7 kB / 0.7661 GB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.608, allocations: 80.14 kB / 0.7662 GB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.608, allocations: 3.938 kB / 0.7662 GB, free: 14.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.608, allocations: 0 / 0.7662 GB, free: 14.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6082, allocations: 314.8 kB / 0.7665 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.6082, allocations: 128 / 0.7665 GB, free: 13.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.6082, allocations: 8 kB / 0.7665 GB, free: 13.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.6083, allocations: 25.7 kB / 0.7665 GB, free: 13.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6083, allocations: 0 / 0.7665 GB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001196/0.6084, allocations: 66.83 kB / 0.7666 GB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.6085, allocations: 29.7 kB / 0.7666 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6085, allocations: 0 / 0.7666 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.6085, allocations: 4 kB / 0.7666 GB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-06/0.6085, allocations: 0 / 0.7666 GB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.6086, allocations: 0 / 0.7666 GB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.252e-05/0.6086, allocations: 4.094 kB / 0.7666 GB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.6086, allocations: 0 / 0.7666 GB, free: 13.56 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.0001116/0.6087, allocations: 148.2 kB / 0.7668 GB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.6088, allocations: 0 / 0.7668 GB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.6088, allocations: 14.39 kB / 0.7668 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6088, allocations: 0 / 0.7668 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.6088, allocations: 0 / 0.7668 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6088, allocations: 0 / 0.7668 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.609, allocations: 149.6 kB / 0.7669 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.609, allocations: 7.938 kB / 0.767 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.609, allocations: 3.984 kB / 0.767 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.609, allocations: 4 kB / 0.767 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.609, allocations: 0 / 0.767 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.609, allocations: 0 / 0.767 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.609, allocations: 0 / 0.767 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.6092, allocations: 94.47 kB / 0.7671 GB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.6092, allocations: 77.11 kB / 0.7671 GB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.6093, allocations: 12.02 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.6093, allocations: 0 / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.6093, allocations: 0 / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.6093, allocations: 0 / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.808e-05/0.6094, allocations: 75.28 kB / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.324e-06/0.6094, allocations: 0 / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.6096, allocations: 11.94 kB / 0.7672 GB, free: 12.87 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.0003393/0.61, allocations: 124.8 kB / 0.7673 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.6101, allocations: 55.41 kB / 0.7674 GB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6101, allocations: 0 / 0.7674 GB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.6102, allocations: 55.41 kB / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.6104, allocations: 3.953 kB / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.6106, allocations: 86.12 kB / 0.7675 GB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.6109, allocations: 0.6692 MB / 0.7682 GB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.272e-06/0.6109, allocations: 4.125 kB / 0.7682 GB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.6109, allocations: 11.44 kB / 0.7682 GB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6109, allocations: 0 / 0.7682 GB, free: 11.8 MB / 362.7 MB Notification: Performance of Templates: time 0.002957/0.6139, allocations: 296.8 kB / 0.7685 GB, free: 11.52 MB / 362.7 MB