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.001562/0.001562, allocations: 110.1 kB / 17.16 MB, free: 6.082 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.001703/0.001703, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.192/2.192, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 50.45 kB / 300.6 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1706, allocations: 49.45 MB / 350.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.006318/0.177, allocations: 2.741 MB / 352.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1791, allocations: 0.6661 MB / 353.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.1794, allocations: 4 kB / 353.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.1796, allocations: 39.7 kB / 353.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.1801, allocations: 79.42 kB / 353.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.1805, allocations: 79.88 kB / 353.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005632/0.1811, allocations: 318.5 kB / 354 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.1815, allocations: 98.2 kB / 354.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1818, allocations: 123.5 kB / 354.2 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.1821, allocations: 139.3 kB / 354.3 MB, free: 480 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.1821, allocations: 20 kB / 354.4 MB, free: 460 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.683e-05/0.1822, allocations: 16 kB / 354.4 MB, free: 444 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.1823, allocations: 55.77 kB / 354.4 MB, free: 388 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.1826, allocations: 139.3 kB / 354.6 MB, free: 248 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.1829, allocations: 227.7 kB / 354.8 MB, free: 20 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1829, allocations: 0 / 354.8 MB, free: 20 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.183, allocations: 8 kB / 354.8 MB, free: 12 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.183, allocations: 0 / 354.8 MB, free: 12 kB / 286.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.001642/0.1846, allocations: 0.5887 MB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.1847, allocations: 12.03 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1848, allocations: 32.56 kB / 355.4 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.1853, allocations: 263.7 kB / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1854, allocations: 16.94 kB / 355.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.1855, allocations: 24.38 kB / 355.7 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.1864, allocations: 288 kB / 356 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.1864, allocations: 0 / 356 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.1865, allocations: 8 kB / 356 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.1865, allocations: 8 kB / 356 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.1873, allocations: 202.1 kB / 356.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.19, allocations: 1.015 MB / 357.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008406/0.1909, allocations: 198.4 kB / 357.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.1916, allocations: 148.8 kB / 357.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.1916, allocations: 8 kB / 357.6 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.1917, allocations: 38.55 kB / 357.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 4.037e-06/0.1917, allocations: 0 / 357.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.002985/0.1947, allocations: 0.5564 MB / 358.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.1948, allocations: 51.41 kB / 358.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.1952, allocations: 232.9 kB / 358.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1952, allocations: 25.7 kB / 358.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1954, allocations: 179.8 kB / 358.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.1955, allocations: 71.08 kB / 358.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1957, allocations: 45.7 kB / 358.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1959, allocations: 326.8 kB / 359.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.1962, allocations: 75.95 kB / 359.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.1966, allocations: 130.8 kB / 359.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000777/0.1974, allocations: 200.5 kB / 359.5 MB, free: 11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1974, allocations: 0 / 359.5 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001467/0.1989, allocations: 361.9 kB / 359.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.199, allocations: 4 kB / 359.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.199, allocations: 7.938 kB / 359.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.1996, allocations: 80.86 kB / 359.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.2, allocations: 51.91 kB / 360 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/0.2046, allocations: 1.807 MB / 361.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.205, allocations: 35.78 kB / 361.8 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.205, allocations: 8 kB / 361.8 MB, free: 8.508 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.0002724/0.2053, allocations: 141.8 kB / 362 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2054, allocations: 19.75 kB / 362 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.2055, allocations: 30.12 kB / 362 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.2055, allocations: 0 / 362 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2056, allocations: 0 / 362 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2056, allocations: 7.984 kB / 362 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.2075, allocations: 0.6512 MB / 362.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2076, allocations: 0 / 362.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.2079, allocations: 31.98 kB / 362.7 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005022/0.2084, allocations: 80.73 kB / 362.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.2084, allocations: 4 kB / 362.8 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/0.2122, allocations: 1.73 MB / 364.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.2122, allocations: 0 / 364.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.2138, allocations: 466.3 kB / 365 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.214, allocations: 100.8 kB / 365.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.2141, allocations: 3.938 kB / 365.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.2144, allocations: 23.98 kB / 365.1 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.2145, allocations: 7.984 kB / 365.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.2146, allocations: 11.98 kB / 365.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000296/0.2149, allocations: 164.5 kB / 365.3 MB, free: 4.824 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2149, allocations: 4.062 kB / 365.3 MB, free: 4.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008645/0.2158, allocations: 75.75 kB / 365.4 MB, free: 4.746 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.0002467/0.216, allocations: 111.2 kB / 365.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.2177, allocations: 360 kB / 365.8 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2177, allocations: 320 / 365.8 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.2182, allocations: 218.4 kB / 366 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.219, allocations: 36.59 kB / 366.1 MB, free: 3.992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.2233, allocations: 0.9916 MB / 367.1 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.2238, allocations: 0.7443 MB / 367.8 MB, free: 2.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/0.224, allocations: 19.44 kB / 367.8 MB, free: 2.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.367e-06/0.224, allocations: 4 kB / 367.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of Templates: time 0.2881/0.5121, allocations: 3.708 MB / 371.5 MB, free: 25.07 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/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