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.001156/0.001156, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, 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.00359/0.3483, allocations: 2.709 MB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.3496, allocations: 0.705 MB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.3498, allocations: 7.938 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.35, allocations: 47.5 kB / 412.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.3502, allocations: 95.25 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.3505, allocations: 87.81 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.3508, allocations: 334.6 kB / 413.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.3511, allocations: 113.6 kB / 413.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.3514, allocations: 131.6 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3516, allocations: 147.3 kB / 413.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.3516, allocations: 28 kB / 413.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.314e-05/0.3517, allocations: 28 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.3517, allocations: 63.77 kB / 413.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3519, allocations: 143.3 kB / 413.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.3522, allocations: 316 kB / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3522, allocations: 0 / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3523, allocations: 0 / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3523, 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.001007/0.3533, allocations: 0.5926 MB / 414.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3533, allocations: 8.031 kB / 414.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.3534, allocations: 28.66 kB / 414.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.3538, allocations: 271.7 kB / 415.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.3538, allocations: 16.94 kB / 415.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.3539, allocations: 28.36 kB / 415.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.3544, allocations: 284 kB / 415.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3544, allocations: 0 / 415.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.3544, allocations: 12 kB / 415.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3544, allocations: 4 kB / 415.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.3549, allocations: 214.1 kB / 415.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.3564, allocations: 0.9956 MB / 416.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.3569, allocations: 202.3 kB / 416.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.3573, allocations: 151.6 kB / 417 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3574, allocations: 8 kB / 417 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.3574, allocations: 34.56 kB / 417 MB, free: 9.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.053e-06/0.3574, allocations: 0 / 417 MB, free: 9.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001673/0.3591, allocations: 0.5539 MB / 417.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3592, allocations: 51.41 kB / 417.6 MB, free: 8.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.3594, allocations: 236.9 kB / 417.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.3595, allocations: 25.7 kB / 417.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.3596, allocations: 179.9 kB / 418.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.3597, allocations: 63.09 kB / 418.1 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.3597, allocations: 49.61 kB / 418.2 MB, free: 8.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3599, allocations: 334.8 kB / 418.5 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.3601, allocations: 71.91 kB / 418.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.3603, allocations: 134.8 kB / 418.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.3607, allocations: 206.1 kB / 418.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3607, allocations: 4 kB / 418.9 MB, free: 7.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008255/0.3615, allocations: 350.1 kB / 419.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3615, allocations: 4 kB / 419.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3615, allocations: 11.97 kB / 419.3 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/0.3619, allocations: 76.88 kB / 419.3 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.3621, allocations: 51.91 kB / 419.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.3649, allocations: 2.001 MB / 421.4 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.3651, allocations: 31.77 kB / 421.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3651, allocations: 8 kB / 421.4 MB, free: 4.934 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.0001437/0.3653, allocations: 145.7 kB / 421.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.01e-05/0.3653, allocations: 23.86 kB / 421.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.3654, allocations: 26.19 kB / 421.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3654, allocations: 0 / 421.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3654, allocations: 0 / 421.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3654, allocations: 3.984 kB / 421.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3666, allocations: 0.6591 MB / 422.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3666, allocations: 0 / 422.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3668, allocations: 31.92 kB / 422.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002808/0.3671, allocations: 84.73 kB / 422.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3671, allocations: 0 / 422.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002331/0.3694, allocations: 1.923 MB / 424.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3694, allocations: 0 / 424.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008729/0.3703, allocations: 459 kB / 424.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.3704, allocations: 88.95 kB / 424.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.3704, allocations: 7.984 kB / 424.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.3706, allocations: 24.05 kB / 424.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3707, allocations: 11.98 kB / 424.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3707, allocations: 8.125 kB / 424.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.3708, allocations: 176.4 kB / 425.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3709, allocations: 0 / 425.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004625/0.3713, allocations: 67.84 kB / 425.1 MB, free: 0.9727 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.0001479/0.3715, allocations: 107.2 kB / 425.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.3724, allocations: 374 kB / 425.6 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3724, allocations: 0 / 425.6 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.3727, allocations: 210.8 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.0003726/0.3731, allocations: 42.83 kB / 425.9 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.3753, allocations: 0.8737 MB / 426.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3756, allocations: 0.7518 MB / 427.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.3757, allocations: 17.95 kB / 427.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.3757, allocations: 15.44 kB / 427.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3757, allocations: 4 kB / 427.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Templates: time 0.006387/0.3821, allocations: 2.938 MB / 430.5 MB, free: 11.58 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