Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.000518, allocations: 11.94 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1254, allocations: 44.51 MB / 309 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.619, allocations: 73.2 MB / 382.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.6194, allocations: 77.02 kB / 382.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02538/0.6448, allocations: 4.906 MB / 387.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6448, allocations: 4 kB / 387.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.6449, allocations: 10.31 kB / 387.2 MB, free: 14.86 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001488/0.6464, allocations: 0.5903 MB / 387.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6465, allocations: 9.219 kB / 387.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.6466, allocations: 33.81 kB / 387.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.6471, allocations: 276.2 kB / 388.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.6472, allocations: 17.69 kB / 388.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.6472, allocations: 27.81 kB / 388.2 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6483, allocations: 260.4 kB / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.6484, allocations: 0 / 388.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.6484, allocations: 14.28 kB / 388.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.6485, allocations: 6.656 kB / 388.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.6495, allocations: 233.9 kB / 388.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.6526, allocations: 0.9919 MB / 389.7 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/0.6535, allocations: 222.7 kB / 389.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.6536, allocations: 4.062 kB / 389.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.6536, allocations: 33.69 kB / 389.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.036e-06/0.6536, allocations: 7.875 kB / 389.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.002617/0.6563, allocations: 0.5834 MB / 390.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.6563, allocations: 53 kB / 390.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004565/0.6568, allocations: 266.2 kB / 390.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.6569, allocations: 25.7 kB / 390.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.657, allocations: 188 kB / 391 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.6571, allocations: 72.41 kB / 391.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.6571, allocations: 2.938 kB / 391.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.6573, allocations: 336 kB / 391.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.6577, allocations: 81.88 kB / 391.5 MB, free: 12.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.6582, allocations: 119.6 kB / 391.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.6587, allocations: 97.61 kB / 391.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6587, allocations: 3.938 kB / 391.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001352/0.66, allocations: 341.2 kB / 392.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.6601, allocations: 6.469 kB / 392.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.6601, allocations: 0 / 392.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000465/0.6606, allocations: 69.42 kB / 392.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.6611, allocations: 48.12 kB / 392.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.6643, allocations: 2.861 MB / 395.1 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.6648, allocations: 30.08 kB / 395.1 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.6648, allocations: 11.7 kB / 395.1 MB, free: 9.914 MB / 314.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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.6651, allocations: 138.6 kB / 395.2 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.6652, allocations: 23.22 kB / 395.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-05/0.6653, allocations: 33.73 kB / 395.3 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6653, allocations: 4.062 kB / 395.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.6653, allocations: 3.875 kB / 395.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.6653, allocations: 3.141 kB / 395.3 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006035/0.666, allocations: 335.7 kB / 395.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.666, allocations: 3.875 kB / 395.6 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.6663, allocations: 29.62 kB / 395.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003877/0.6667, allocations: 80.47 kB / 395.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.6668, allocations: 3.188 kB / 395.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00321/0.67, allocations: 2.844 MB / 398.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.67, allocations: 0 / 398.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.6713, allocations: 394.7 kB / 399 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.997e-05/0.6714, allocations: 107.5 kB / 399.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.6715, allocations: 6.406 kB / 399.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.6721, allocations: 42.27 kB / 399.1 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.6722, allocations: 18.22 kB / 399.1 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.6723, allocations: 4.219 kB / 399.1 MB, free: 6.715 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003003/0.6726, allocations: 188.3 kB / 399.3 MB, free: 6.637 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6726, allocations: 0 / 399.3 MB, free: 6.637 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008507/0.6735, allocations: 91.97 kB / 399.4 MB, free: 6.629 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001531/0.6736, allocations: 113.7 kB / 399.5 MB, free: 6.535 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.675, allocations: 464.1 kB / 400 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.675, allocations: 0 / 400 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007823/0.6758, allocations: 367.2 kB / 400.3 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.6765, allocations: 56.72 kB / 400.4 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.6778, allocations: 0.5913 MB / 401 MB, free: 5.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.6781, allocations: 0.7733 MB / 401.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.6784, allocations: 23.02 kB / 401.8 MB, free: 4.973 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.6785, allocations: 19.16 kB / 401.8 MB, free: 4.965 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6785, allocations: 0 / 401.8 MB, free: 4.965 MB / 314.7 MB Notification: Performance of Templates: time 0.01245/0.6909, allocations: 3.286 MB / 405.1 MB, free: 4.746 MB / 314.7 MB