Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") 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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009214/0.0009217, allocations: 92.53 kB / 16.3 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 184.9 kB / 17.2 MB, free: 5.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 241.1 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002241/0.0002241, allocations: 15.92 kB / 300.7 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1129, allocations: 50.41 MB / 351.2 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002446/0.1154, allocations: 2.157 MB / 353.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009363/0.1164, allocations: 0.6589 MB / 354 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1165, allocations: 4 kB / 354 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.983e-05/0.1165, allocations: 39.69 kB / 354 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1168, allocations: 107.7 kB / 354.1 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.117, allocations: 59.94 kB / 354.2 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.1172, allocations: 231.5 kB / 354.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1174, allocations: 81.69 kB / 354.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1176, allocations: 107.6 kB / 354.6 MB, free: 336 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.1177, allocations: 123.5 kB / 354.7 MB, free: 212 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1177, allocations: 16 kB / 354.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.1178, allocations: 12 kB / 354.7 MB, free: 184 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.365e-05/0.1178, allocations: 43.83 kB / 354.8 MB, free: 140 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.1179, allocations: 69.58 kB / 354.8 MB, free: 64 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1181, allocations: 227.6 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1181, allocations: 0 / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1181, allocations: 0 / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1181, allocations: 4 kB / 355.1 MB, free: 15.84 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00083/0.119, allocations: 0.5573 MB / 355.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.119, allocations: 12.03 kB / 355.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.1191, allocations: 27.72 kB / 355.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1194, allocations: 246.6 kB / 355.9 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1194, allocations: 20.56 kB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.1195, allocations: 24 kB / 356 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.1199, allocations: 279.6 kB / 356.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.12, allocations: 7.891 kB / 356.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.12, allocations: 16 kB / 356.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.12, allocations: 4 kB / 356.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.1204, allocations: 202.2 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.1219, allocations: 1.027 MB / 357.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.1224, allocations: 190.5 kB / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1224, allocations: 4 kB / 357.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1224, allocations: 42.45 kB / 357.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.1224, allocations: 0 / 357.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001727/0.1242, allocations: 0.6034 MB / 358.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1242, allocations: 59.39 kB / 358.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.1245, allocations: 233 kB / 358.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1245, allocations: 25.7 kB / 358.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.1246, allocations: 175.8 kB / 358.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.1247, allocations: 67.08 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1247, allocations: 8 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1248, allocations: 330.8 kB / 359.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.125, allocations: 79.95 kB / 359.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.1252, allocations: 123 kB / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.1254, allocations: 92.86 kB / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1254, allocations: 0 / 359.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008413/0.1262, allocations: 364.5 kB / 359.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.1263, allocations: 8 kB / 359.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1263, allocations: 0 / 359.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.1268, allocations: 92.81 kB / 359.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.127, allocations: 47.91 kB / 360 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/0.1301, allocations: 1.881 MB / 361.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002707/0.1304, allocations: 31.8 kB / 361.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.1305, allocations: 12 kB / 361.9 MB, free: 8.566 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * 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.0002602/0.1307, allocations: 145 kB / 362 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.063e-05/0.1308, allocations: 23.77 kB / 362.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.1309, allocations: 26.3 kB / 362.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1309, allocations: 0 / 362.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1309, allocations: 4 kB / 362.1 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.1309, allocations: 4 kB / 362.1 MB, free: 8.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.1313, allocations: 301.4 kB / 362.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1313, allocations: 0 / 362.4 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1315, allocations: 31.94 kB / 362.4 MB, free: 7.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/0.1318, allocations: 88.73 kB / 362.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1318, allocations: 0 / 362.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.1342, allocations: 1.787 MB / 364.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1342, allocations: 0 / 364.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.1351, allocations: 479.8 kB / 364.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.1352, allocations: 92.95 kB / 364.9 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1352, allocations: 3.953 kB / 364.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1354, allocations: 28.11 kB / 364.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.1355, allocations: 20.03 kB / 364.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.1355, allocations: 11.94 kB / 364.9 MB, free: 5.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001501/0.1357, allocations: 160.5 kB / 365.1 MB, free: 5.168 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1357, allocations: 0 / 365.1 MB, free: 5.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004251/0.1361, allocations: 71.84 kB / 365.1 MB, free: 5.098 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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): 12 * 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 Backend phase and start with SimCode phase: time 0.0001612/0.1363, allocations: 115.2 kB / 365.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009627/0.1372, allocations: 384.1 kB / 365.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.1373, allocations: 0 / 365.6 MB, free: 4.586 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.1376, allocations: 222.8 kB / 365.9 MB, free: 4.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.138, allocations: 27.31 kB / 365.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.1405, allocations: 1.039 MB / 366.9 MB, free: 3.258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1408, allocations: 0.7599 MB / 367.7 MB, free: 2.473 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.323e-05/0.1409, allocations: 13.95 kB / 367.7 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.141, allocations: 19.44 kB / 367.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.141, allocations: 0 / 367.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of Templates: time 0.2181/0.359, allocations: 2.574 MB / 370.3 MB, free: 24.17 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches