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.OpAmps.Differentiator.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.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005195, allocations: 11.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09235/0.09291, allocations: 44.52 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00347/0.09643, allocations: 2.103 MB / 311.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.09789, allocations: 0.6324 MB / 311.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.09805, allocations: 4 kB / 311.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.986e-05/0.09813, allocations: 27.77 kB / 311.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.09843, allocations: 91.67 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.0987, allocations: 47.94 kB / 312 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.09907, allocations: 195.5 kB / 312.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.09928, allocations: 60.8 kB / 312.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.09951, allocations: 111.6 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.09974, allocations: 115.5 kB / 312.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.09981, allocations: 16 kB / 312.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.876e-05/0.09988, allocations: 12 kB / 312.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.09995, allocations: 39.84 kB / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.1, allocations: 69.52 kB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.1004, allocations: 207.7 kB / 312.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1004, allocations: 0 / 312.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1004, allocations: 0 / 312.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1004, allocations: 0 / 312.8 MB, free: 12.59 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001407/0.1018, allocations: 0.5595 MB / 313.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1019, allocations: 12.03 kB / 313.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.616e-05/0.102, allocations: 31.72 kB / 313.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.1024, allocations: 254.5 kB / 313.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1024, allocations: 16.38 kB / 313.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.696e-05/0.1025, allocations: 19.94 kB / 313.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.1033, allocations: 228.2 kB / 313.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1033, allocations: 0 / 313.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.1034, allocations: 4 kB / 313.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1034, allocations: 8 kB / 313.9 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009982/0.1044, allocations: 215.6 kB / 314.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.1065, allocations: 0.8131 MB / 314.9 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.1077, allocations: 214.6 kB / 315.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.452e-05/0.1078, allocations: 0 / 315.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.1088, allocations: 169.1 kB / 315.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 3.456e-06/0.1088, allocations: 0 / 315.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001466/0.1103, allocations: 277.3 kB / 315.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.1104, allocations: 89.05 kB / 315.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.1108, allocations: 235.3 kB / 315.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.1108, allocations: 29.7 kB / 315.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.111, allocations: 167.9 kB / 316.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.111, allocations: 35.45 kB / 316.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/0.1111, allocations: 4 kB / 316.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1112, allocations: 326.8 kB / 316.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.1117, allocations: 92.31 kB / 316.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.1122, allocations: 143.5 kB / 316.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.1127, allocations: 121.6 kB / 316.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.1127, allocations: 0 / 316.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001193/0.1139, allocations: 310.8 kB / 317.1 MB, free: 7.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.114, allocations: 37.84 kB / 317.1 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.114, allocations: 4 kB / 317.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1141, allocations: 4 kB / 317.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.1145, allocations: 55.89 kB / 317.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1145, allocations: 0 / 317.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.115, allocations: 47.81 kB / 317.2 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.115, allocations: 12 kB / 317.3 MB, free: 7.824 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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.0001911/0.1152, allocations: 133.7 kB / 317.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.1153, allocations: 23.72 kB / 317.4 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.069e-05/0.1154, allocations: 25.34 kB / 317.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1154, allocations: 0 / 317.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1154, allocations: 0 / 317.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1155, allocations: 96.91 kB / 317.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.1156, allocations: 8 kB / 317.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.1159, allocations: 27.97 kB / 317.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.116, allocations: 15.97 kB / 317.6 MB, free: 7.469 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001303/0.1173, allocations: 316.8 kB / 317.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001549/0.1189, allocations: 494.3 kB / 318.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000664/0.1196, allocations: 104.5 kB / 318.5 MB, free: 6.551 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003585/0.12, allocations: 160.5 kB / 318.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of Backend: time 1.051e-06/0.12, allocations: 0 / 318.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.121, allocations: 259.3 kB / 318.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of SimCode: time 0.001466/0.1225, allocations: 0.984 MB / 319.9 MB, free: 5.098 MB / 266.7 MB Notification: Performance of Templates: time 0.009173/0.1317, allocations: 2.646 MB / 322.5 MB, free: 2.457 MB / 266.7 MB