Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001924/0.001924, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002397/0.002397, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 59.91 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3271, allocations: 50.54 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004231/0.3314, allocations: 2.705 MB / 412 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3329, allocations: 0.7089 MB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.3331, allocations: 8 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.3333, allocations: 47.52 kB / 412.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3335, allocations: 87.23 kB / 412.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.3338, allocations: 91.81 kB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.3342, allocations: 334.6 kB / 413.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.3345, allocations: 113.6 kB / 413.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.3347, allocations: 139.5 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.335, allocations: 139.3 kB / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.3351, allocations: 28 kB / 413.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.541e-05/0.3352, allocations: 28 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.3353, allocations: 63.77 kB / 413.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.3355, allocations: 147.2 kB / 413.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.336, allocations: 316 kB / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.336, allocations: 0 / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.336, allocations: 0 / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.336, allocations: 0 / 414.2 MB, free: 12.63 MB / 334.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.00136/0.3374, allocations: 0.5887 MB / 414.8 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.3374, allocations: 8.031 kB / 414.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.3376, allocations: 28.66 kB / 414.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.338, allocations: 275.7 kB / 415.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.338, allocations: 20.94 kB / 415.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.3381, allocations: 28.31 kB / 415.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.3386, allocations: 276 kB / 415.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3387, allocations: 0 / 415.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.3387, allocations: 12 kB / 415.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3387, allocations: 12 kB / 415.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.3392, allocations: 210.1 kB / 415.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.3408, allocations: 0.9995 MB / 416.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.3414, allocations: 194.3 kB / 416.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/0.3419, allocations: 156.7 kB / 417 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3419, allocations: 0 / 417 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3419, allocations: 42.56 kB / 417 MB, free: 9.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.3419, allocations: 0 / 417 MB, free: 9.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001821/0.3438, allocations: 0.5539 MB / 417.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.3438, allocations: 55.41 kB / 417.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.3442, allocations: 236.9 kB / 417.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3442, allocations: 25.7 kB / 417.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3443, allocations: 175.9 kB / 418.1 MB, free: 8.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.3444, allocations: 55.11 kB / 418.1 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.3445, allocations: 53.61 kB / 418.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3446, allocations: 330.8 kB / 418.5 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.3448, allocations: 71.91 kB / 418.6 MB, free: 7.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.3451, allocations: 126.8 kB / 418.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.3455, allocations: 214.3 kB / 418.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3455, allocations: 0 / 418.9 MB, free: 7.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008442/0.3463, allocations: 346 kB / 419.2 MB, free: 7.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3463, allocations: 8 kB / 419.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3464, allocations: 0 / 419.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/0.3468, allocations: 84.86 kB / 419.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3471, allocations: 47.91 kB / 419.4 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.3502, allocations: 2.009 MB / 421.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.3504, allocations: 31.73 kB / 421.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3504, allocations: 8.188 kB / 421.4 MB, free: 4.941 MB / 334.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.0001686/0.3506, allocations: 145.7 kB / 421.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.3507, allocations: 19.81 kB / 421.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.3507, allocations: 30.17 kB / 421.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3507, allocations: 4 kB / 421.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3507, allocations: 0 / 421.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3507, allocations: 0 / 421.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.352, allocations: 0.6581 MB / 422.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.352, allocations: 0 / 422.3 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3521, allocations: 35.92 kB / 422.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/0.3525, allocations: 80.67 kB / 422.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.3526, allocations: 8 kB / 422.4 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.3554, allocations: 1.919 MB / 424.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.3554, allocations: 0 / 424.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009784/0.3564, allocations: 459.8 kB / 424.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3565, allocations: 93.08 kB / 424.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.3565, allocations: 8 kB / 424.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.3568, allocations: 15.98 kB / 424.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.3569, allocations: 15.98 kB / 424.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.3569, allocations: 8.031 kB / 424.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.3571, allocations: 168.4 kB / 425.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3571, allocations: 4.062 kB / 425.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004312/0.3576, allocations: 71.84 kB / 425.1 MB, free: 0.9766 MB / 334.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.0001714/0.3577, allocations: 107.2 kB / 425.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009315/0.3587, allocations: 378 kB / 425.6 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3587, allocations: 320 / 425.6 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/0.359, allocations: 210.5 kB / 425.8 MB, free: 268 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3594, allocations: 34.89 kB / 425.9 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.3619, allocations: 0.8736 MB / 426.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3622, allocations: 0.7519 MB / 427.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.575e-05/0.3623, allocations: 25.92 kB / 427.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.3624, allocations: 19.44 kB / 427.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3624, allocations: 0 / 427.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.006943/0.3693, allocations: 3.016 MB / 430.5 MB, free: 11.5 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches