Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadModel(Modelica): time 1.688/1.688, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003467, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08069, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004071/0.08481, allocations: 2.398 MB / 275 MB, free: 9.125 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.08646, allocations: 0.7059 MB / 275.7 MB, free: 8.418 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.08666, allocations: 4 kB / 275.7 MB, free: 8.414 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.08678, allocations: 39.67 kB / 275.8 MB, free: 8.375 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.08714, allocations: 135.6 kB / 275.9 MB, free: 8.242 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.08747, allocations: 67.86 kB / 276 MB, free: 8.176 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000494/0.08798, allocations: 279.4 kB / 276.2 MB, free: 7.902 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/0.08824, allocations: 93.61 kB / 276.3 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.08851, allocations: 131.5 kB / 276.5 MB, free: 7.68 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.08877, allocations: 143.4 kB / 276.6 MB, free: 7.539 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.08884, allocations: 16 kB / 276.6 MB, free: 7.523 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.08894, allocations: 16 kB / 276.6 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.08903, allocations: 51.81 kB / 276.7 MB, free: 7.457 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.08915, allocations: 89.52 kB / 276.8 MB, free: 7.363 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.08957, allocations: 267.5 kB / 277 MB, free: 7.102 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.08958, allocations: 0 / 277 MB, free: 7.102 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08959, allocations: 0 / 277 MB, free: 7.102 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.08961, allocations: 0 / 277 MB, free: 7.102 MB / 234.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.001358/0.09098, allocations: 0.5961 MB / 277.6 MB, free: 6.457 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.09103, allocations: 8.031 kB / 277.6 MB, free: 6.449 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.09115, allocations: 39.53 kB / 277.7 MB, free: 6.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.09161, allocations: 274.4 kB / 277.9 MB, free: 6.102 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.09166, allocations: 28.52 kB / 278 MB, free: 6.07 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.792e-05/0.09173, allocations: 24 kB / 278 MB, free: 6.047 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008159/0.09255, allocations: 260.9 kB / 278.2 MB, free: 5.785 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.09258, allocations: 0 / 278.2 MB, free: 5.785 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.09263, allocations: 12 kB / 278.3 MB, free: 5.773 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.09266, allocations: 8 kB / 278.3 MB, free: 5.766 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/0.09355, allocations: 234.1 kB / 278.5 MB, free: 5.539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.09617, allocations: 0.9836 MB / 279.5 MB, free: 4.484 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008322/0.09703, allocations: 308.4 kB / 279.8 MB, free: 4.156 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.09708, allocations: 4.188 kB / 279.8 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.09711, allocations: 34.75 kB / 279.8 MB, free: 4.109 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 4.989e-06/0.09713, allocations: 0 / 279.8 MB, free: 4.109 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.002104/0.09924, allocations: 0.5848 MB / 280.4 MB, free: 3.477 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.0993, allocations: 55.41 kB / 280.5 MB, free: 3.41 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.09971, allocations: 262.6 kB / 280.7 MB, free: 3.148 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.09976, allocations: 29.7 kB / 280.7 MB, free: 3.113 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.09993, allocations: 180.2 kB / 280.9 MB, free: 2.934 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.1, allocations: 70.91 kB / 281 MB, free: 2.863 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.1, allocations: 4 kB / 281 MB, free: 2.859 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1002, allocations: 338.8 kB / 281.3 MB, free: 2.52 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.1006, allocations: 80.42 kB / 281.4 MB, free: 2.441 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.101, allocations: 111.5 kB / 281.5 MB, free: 2.324 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.1014, allocations: 95.91 kB / 281.6 MB, free: 2.23 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1014, allocations: 0 / 281.6 MB, free: 2.23 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001114/0.1025, allocations: 346.7 kB / 281.9 MB, free: 1.879 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.1025, allocations: 8.062 kB / 281.9 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.1025, allocations: 0 / 281.9 MB, free: 1.871 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/0.103, allocations: 69.67 kB / 282 MB, free: 1.797 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.1033, allocations: 47.91 kB / 282.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.1067, allocations: 2.854 MB / 284.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.1071, allocations: 27.83 kB / 284.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.1071, allocations: 8.062 kB / 285 MB, free: 14.59 MB / 250.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.000244/0.1074, allocations: 149.7 kB / 285.1 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.1075, allocations: 27.72 kB / 285.1 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.1076, allocations: 26.19 kB / 285.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1076, allocations: 3.984 kB / 285.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1076, allocations: 0 / 285.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.1078, allocations: 120.7 kB / 285.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.1078, allocations: 4.375 kB / 285.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.1083, allocations: 35.97 kB / 285.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.1084, allocations: 23.97 kB / 285.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001398/0.1098, allocations: 397.3 kB / 285.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0012/0.111, allocations: 490.2 kB / 286.2 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003349/0.1114, allocations: 83.92 kB / 286.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002814/0.1117, allocations: 186.1 kB / 286.5 MB, free: 13.03 MB / 250.7 MB Notification: Performance of Backend: time 7.81e-07/0.1117, allocations: 3.938 kB / 286.5 MB, free: 13.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.1129, allocations: 467.7 kB / 286.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of SimCode: time 0.001632/0.1145, allocations: 1.121 MB / 288.1 MB, free: 11.36 MB / 250.7 MB Notification: Performance of Templates: time 0.01151/0.1261, allocations: 3.451 MB / 291.5 MB, free: 7.926 MB / 250.7 MB