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.001238/0.001238, allocations: 112 kB / 17.68 MB, free: 5.332 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.001213/0.001213, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.511/1.511, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 55.14 kB / 302.1 MB, free: 5.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1449, allocations: 49.43 MB / 351.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004981/0.1499, allocations: 2.695 MB / 354.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.1514, allocations: 0.6661 MB / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1516, allocations: 4 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1518, allocations: 51.5 kB / 354.9 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.152, allocations: 87.25 kB / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1523, allocations: 87.88 kB / 355.1 MB, free: 52 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.1527, allocations: 346.4 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.153, allocations: 113.6 kB / 355.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1532, allocations: 127.5 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1534, allocations: 147.3 kB / 355.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.1534, allocations: 28 kB / 355.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.1535, allocations: 28 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.1535, allocations: 55.83 kB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.1537, allocations: 151.2 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.154, allocations: 314.9 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.154, allocations: 0 / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.154, allocations: 0 / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1541, allocations: 0 / 356.4 MB, free: 14.76 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.001011/0.1551, allocations: 0.5887 MB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1551, allocations: 15.88 kB / 357 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.1552, allocations: 32.56 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.1556, allocations: 264.3 kB / 357.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1557, allocations: 16.94 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.571e-05/0.1557, allocations: 32.3 kB / 357.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004722/0.1562, allocations: 280 kB / 357.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1562, allocations: 4 kB / 357.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1562, allocations: 8 kB / 357.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.1563, allocations: 15.94 kB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.1567, allocations: 202.1 kB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1583, allocations: 1.003 MB / 358.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.1588, allocations: 190.5 kB / 359 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.1592, allocations: 152.8 kB / 359.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1592, allocations: 4 kB / 359.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.1592, allocations: 38.56 kB / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.1593, allocations: 0 / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001677/0.1609, allocations: 0.5539 MB / 359.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.161, allocations: 55.41 kB / 359.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1613, allocations: 236.9 kB / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1613, allocations: 29.7 kB / 360.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.1615, allocations: 175.8 kB / 360.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.1616, allocations: 63.09 kB / 360.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-05/0.1616, allocations: 49.7 kB / 360.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1618, allocations: 330.8 kB / 360.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.162, allocations: 71.97 kB / 360.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.1622, allocations: 139.2 kB / 360.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.1626, allocations: 206.1 kB / 361.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1626, allocations: 0 / 361.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008335/0.1635, allocations: 357.9 kB / 361.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1635, allocations: 4 kB / 361.4 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.1635, allocations: 7.984 kB / 361.4 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/0.1639, allocations: 76.81 kB / 361.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.1641, allocations: 55.97 kB / 361.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.1675, allocations: 2.005 MB / 363.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.1677, allocations: 27.73 kB / 363.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1678, allocations: 11.98 kB / 363.6 MB, free: 7.051 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.168, allocations: 145.7 kB / 363.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.168, allocations: 23.8 kB / 363.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.1681, allocations: 22.19 kB / 363.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1681, allocations: 4.062 kB / 363.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1681, allocations: 0 / 363.8 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1681, allocations: 7.984 kB / 363.8 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.1693, allocations: 0.6537 MB / 364.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1693, allocations: 0 / 364.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1694, allocations: 27.98 kB / 364.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002565/0.1697, allocations: 84.92 kB / 364.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.1697, allocations: 4 kB / 364.6 MB, free: 6.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.172, allocations: 1.915 MB / 366.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.172, allocations: 3.938 kB / 366.5 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.173, allocations: 459.8 kB / 366.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.173, allocations: 92.89 kB / 367 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1731, allocations: 11.98 kB / 367 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1733, allocations: 27.98 kB / 367.1 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.1733, allocations: 7.984 kB / 367.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1733, allocations: 7.938 kB / 367.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.1735, allocations: 176.4 kB / 367.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1735, allocations: 0 / 367.3 MB, free: 3.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.174, allocations: 75.75 kB / 367.3 MB, free: 3.086 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.1742, allocations: 99.25 kB / 367.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009531/0.1751, allocations: 370.5 kB / 367.8 MB, free: 2.602 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1752, allocations: 4 kB / 367.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003097/0.1755, allocations: 216.9 kB / 368 MB, free: 2.375 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1759, allocations: 43.09 kB / 368.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.1784, allocations: 0.8543 MB / 368.9 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1787, allocations: 0.7479 MB / 369.7 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.709e-05/0.1788, allocations: 21.95 kB / 369.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.1789, allocations: 19.44 kB / 369.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1789, allocations: 0 / 369.7 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of Templates: time 0.2209/0.3998, allocations: 2.878 MB / 372.6 MB, free: 24.72 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches