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.112/2.112, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005472/0.0005474, allocations: 12 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1221, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004044/0.1262, allocations: 2.391 MB / 311.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.128, allocations: 0.7102 MB / 312.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001962/0.1282, allocations: 11.94 kB / 312.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.1284, allocations: 47.67 kB / 312.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.1287, allocations: 127.6 kB / 312.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.1291, allocations: 67.91 kB / 312.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005199/0.1296, allocations: 279.3 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.1299, allocations: 77.7 kB / 312.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.1301, allocations: 131.5 kB / 312.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1304, allocations: 139.4 kB / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.1305, allocations: 20 kB / 313 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.1306, allocations: 16 kB / 313.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.1306, allocations: 51.81 kB / 313.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1308, allocations: 85.52 kB / 313.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.1312, allocations: 271.5 kB / 313.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1312, allocations: 0 / 313.5 MB, free: 11.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1312, allocations: 7.938 kB / 313.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1312, allocations: 0 / 313.5 MB, free: 11.93 MB / 266.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.001352/0.1326, allocations: 0.6 MB / 314.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1326, allocations: 8.031 kB / 314.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1327, allocations: 35.62 kB / 314.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.1332, allocations: 270.3 kB / 314.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.1332, allocations: 20.56 kB / 314.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-05/0.1333, allocations: 24 kB / 314.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.1342, allocations: 260.9 kB / 314.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1342, allocations: 0 / 314.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.1343, allocations: 12 kB / 314.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.1343, allocations: 8 kB / 314.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008567/0.1352, allocations: 234.1 kB / 314.9 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.1378, allocations: 0.9953 MB / 315.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008382/0.1387, allocations: 304.4 kB / 316.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.1388, allocations: 4.188 kB / 316.2 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1388, allocations: 30.75 kB / 316.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.166e-06/0.1388, allocations: 0 / 316.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.002106/0.141, allocations: 0.5854 MB / 316.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.141, allocations: 55.41 kB / 316.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.1415, allocations: 254.5 kB / 317.1 MB, free: 7.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.1415, allocations: 33.7 kB / 317.2 MB, free: 7.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1417, allocations: 183.9 kB / 317.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/0.1418, allocations: 71 kB / 317.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.1418, allocations: 4 kB / 317.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.142, allocations: 342.8 kB / 317.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.1423, allocations: 80.42 kB / 317.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.1427, allocations: 123.4 kB / 318 MB, free: 7.141 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.1431, allocations: 95.86 kB / 318 MB, free: 7.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1431, allocations: 0 / 318 MB, free: 7.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001159/0.1443, allocations: 338.8 kB / 318.4 MB, free: 6.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.1444, allocations: 4 kB / 318.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1444, allocations: 0 / 318.4 MB, free: 6.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.1448, allocations: 73.67 kB / 318.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.1452, allocations: 47.91 kB / 318.5 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.1486, allocations: 2.854 MB / 321.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.149, allocations: 35.92 kB / 321.4 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.149, allocations: 11.95 kB / 321.4 MB, free: 3.41 MB / 266.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.0002136/0.1492, allocations: 137.8 kB / 321.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.1493, allocations: 23.72 kB / 321.6 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.1494, allocations: 34.17 kB / 321.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1494, allocations: 0 / 321.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1494, allocations: 0 / 321.6 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1495, allocations: 108.8 kB / 321.7 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.1496, allocations: 7.953 kB / 321.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.1501, allocations: 35.97 kB / 321.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.1502, allocations: 19.97 kB / 321.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001358/0.1515, allocations: 392.2 kB / 322.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001167/0.1527, allocations: 493.3 kB / 322.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003147/0.153, allocations: 79.94 kB / 322.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002784/0.1533, allocations: 182 kB / 322.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of Backend: time 2.805e-06/0.1533, allocations: 96 / 322.9 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.1545, allocations: 467.6 kB / 323.3 MB, free: 1.387 MB / 266.7 MB Notification: Performance of SimCode: time 0.00159/0.1562, allocations: 1.105 MB / 324.4 MB, free: 240 kB / 266.7 MB Notification: Performance of Templates: time 0.01128/0.1675, allocations: 3.453 MB / 327.9 MB, free: 12.8 MB / 282.7 MB