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.LCOscillator.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.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005339, allocations: 19.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/0.09596, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003514/0.09953, allocations: 2.153 MB / 311.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1009, allocations: 0.6402 MB / 311.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.1011, allocations: 7.938 kB / 311.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.59e-05/0.1012, allocations: 39.69 kB / 311.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.1015, allocations: 103.7 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1018, allocations: 43.95 kB / 312.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.1022, allocations: 219.4 kB / 312.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1024, allocations: 81.69 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.1026, allocations: 103.6 kB / 312.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1029, allocations: 119.5 kB / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.941e-05/0.1029, allocations: 12 kB / 312.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.696e-05/0.103, allocations: 16 kB / 312.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.1031, allocations: 39.83 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.1032, allocations: 77.58 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.1035, allocations: 219.6 kB / 312.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1035, allocations: 0 / 312.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1035, allocations: 0 / 312.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1035, allocations: 4 kB / 312.9 MB, free: 12.47 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001025/0.1046, allocations: 0.5144 MB / 313.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1046, allocations: 8.031 kB / 313.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.1047, allocations: 35.62 kB / 313.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.1051, allocations: 254.5 kB / 313.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1052, allocations: 16.56 kB / 313.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.1052, allocations: 24 kB / 313.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006054/0.1058, allocations: 216.9 kB / 314 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1059, allocations: 0 / 314 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.1059, allocations: 8 kB / 314 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.1059, allocations: 8 kB / 314 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.1064, allocations: 170.1 kB / 314.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.1086, allocations: 0.9096 MB / 315.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.1091, allocations: 154.5 kB / 315.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1092, allocations: 0 / 315.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1092, allocations: 34.56 kB / 315.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.024e-06/0.1092, allocations: 0 / 315.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.002113/0.1113, allocations: 451.3 kB / 315.7 MB, free: 9.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1114, allocations: 55.41 kB / 315.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.1117, allocations: 220.2 kB / 316 MB, free: 9.191 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.1118, allocations: 33.7 kB / 316 MB, free: 9.152 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.1119, allocations: 167.9 kB / 316.2 MB, free: 8.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.129e-05/0.112, allocations: 67.03 kB / 316.2 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.112, allocations: 4 kB / 316.2 MB, free: 8.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1122, allocations: 330.8 kB / 316.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1123, allocations: 56.44 kB / 316.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.1126, allocations: 111 kB / 316.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.1128, allocations: 68.94 kB / 316.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1128, allocations: 0 / 316.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001107/0.1139, allocations: 299.3 kB / 317.1 MB, free: 8.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.1139, allocations: 8.625 kB / 317.1 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.114, allocations: 3.938 kB / 317.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007676/0.1147, allocations: 96.81 kB / 317.2 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.1151, allocations: 55.91 kB / 317.2 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.1187, allocations: 1.758 MB / 319 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.119, allocations: 39.59 kB / 319 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.119, allocations: 8 kB / 319 MB, free: 5.914 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.1192, allocations: 133.9 kB / 319.2 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.1193, allocations: 19.81 kB / 319.2 MB, free: 5.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.1193, allocations: 25.86 kB / 319.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1193, allocations: 0 / 319.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1194, allocations: 0 / 319.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.1194, allocations: 104.8 kB / 319.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.1195, allocations: 7.953 kB / 319.3 MB, free: 5.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.1198, allocations: 16 kB / 319.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1198, allocations: 20.09 kB / 319.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000833/0.1207, allocations: 272.1 kB / 319.6 MB, free: 5.293 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005416/0.1212, allocations: 376.6 kB / 320 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001326/0.1214, allocations: 51.83 kB / 320.1 MB, free: 4.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002138/0.1216, allocations: 167.5 kB / 320.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of Backend: time 8.02e-07/0.1216, allocations: 0 / 320.2 MB, free: 4.695 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007708/0.1224, allocations: 298.6 kB / 320.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of SimCode: time 0.001556/0.124, allocations: 1.135 MB / 321.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of Templates: time 0.008484/0.1325, allocations: 2.463 MB / 324.1 MB, free: 0.7422 MB / 266.7 MB "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:A,C,L,R,R1,R2,VAmp,c.C,c.v,f,gamma,l.L,l.i,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.out.i,opAmp.out.v,opAmp.useSupply,opAmp.v_out,opAmp.vns,opAmp.vps,r.R,r.T,r.T_heatPort,r.T_ref,r.alpha,r1.R,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r2.R,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,time