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.001216/0.001216, allocations: 109.1 kB / 17.06 MB, free: 6.023 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.001439/0.001439, allocations: 191 kB / 18 MB, free: 5.105 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.597/1.597, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009696/0.0009696, allocations: 43.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3979, allocations: 49.44 MB / 400.8 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004458/0.4024, allocations: 2.703 MB / 403.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.4042, allocations: 0.6661 MB / 404.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.4044, allocations: 8 kB / 404.1 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.4046, allocations: 47.5 kB / 404.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.4049, allocations: 87.27 kB / 404.3 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.4054, allocations: 95.8 kB / 404.4 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.4058, allocations: 334.5 kB / 404.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.4063, allocations: 109.7 kB / 404.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.4066, allocations: 127.5 kB / 404.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.4069, allocations: 147.3 kB / 405.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.807e-05/0.407, allocations: 28 kB / 405.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.4071, allocations: 28 kB / 405.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.4072, allocations: 59.83 kB / 405.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.4075, allocations: 151.2 kB / 405.3 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.4081, allocations: 316 kB / 405.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.4082, allocations: 0 / 405.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.267e-06/0.4082, allocations: 0 / 405.6 MB, free: 3.957 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4082, allocations: 0 / 405.6 MB, free: 3.957 MB / 318.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.001712/0.4099, allocations: 0.5926 MB / 406.2 MB, free: 3.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.513e-05/0.41, allocations: 11.89 kB / 406.2 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.4101, allocations: 28.66 kB / 406.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.4107, allocations: 264.2 kB / 406.5 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.4107, allocations: 20.94 kB / 406.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/0.4108, allocations: 24.38 kB / 406.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.4115, allocations: 280 kB / 406.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4116, allocations: 0 / 406.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.4116, allocations: 8 kB / 406.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.4116, allocations: 8 kB / 406.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006155/0.4123, allocations: 210.1 kB / 407.1 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.4145, allocations: 1.007 MB / 408.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.4152, allocations: 190.5 kB / 408.3 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.4157, allocations: 157.1 kB / 408.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.4158, allocations: 11.84 kB / 408.4 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.4158, allocations: 34.56 kB / 408.5 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 4.318e-06/0.4158, allocations: 3.984 kB / 408.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.002305/0.4181, allocations: 0.5559 MB / 409 MB, free: 364 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.4182, allocations: 51.41 kB / 409.1 MB, free: 300 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.4185, allocations: 237 kB / 409.3 MB, free: 52 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.4185, allocations: 25.7 kB / 409.3 MB, free: 20 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.4187, allocations: 183.8 kB / 409.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.374e-05/0.4188, allocations: 63.09 kB / 409.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4189, allocations: 49.61 kB / 409.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.419, allocations: 330.8 kB / 409.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.4193, allocations: 67.97 kB / 410 MB, free: 15.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.4196, allocations: 138.8 kB / 410.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.4202, allocations: 198.5 kB / 410.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4202, allocations: 0 / 410.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001135/0.4213, allocations: 362 kB / 410.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4213, allocations: 4 kB / 410.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4214, allocations: 4 kB / 410.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004848/0.4219, allocations: 76.86 kB / 410.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.4222, allocations: 55.91 kB / 410.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.4258, allocations: 1.997 MB / 412.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.4261, allocations: 27.86 kB / 412.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.4261, allocations: 12 kB / 412.9 MB, free: 12.26 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.0001768/0.4263, allocations: 153.6 kB / 413 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.4264, allocations: 19.72 kB / 413 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.4265, allocations: 34.17 kB / 413.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4265, allocations: 0 / 413.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4265, allocations: 0 / 413.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4265, allocations: 0 / 413.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.428, allocations: 0.659 MB / 413.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.428, allocations: 0 / 413.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4283, allocations: 31.98 kB / 413.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/0.4286, allocations: 72.8 kB / 413.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4287, allocations: 7.938 kB / 413.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.4318, allocations: 1.923 MB / 415.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4319, allocations: 0 / 415.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.4331, allocations: 459.1 kB / 416.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.4332, allocations: 96.83 kB / 416.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.4332, allocations: 4.062 kB / 416.3 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.4335, allocations: 23.98 kB / 416.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.4335, allocations: 11.97 kB / 416.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.4336, allocations: 8 kB / 416.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.4338, allocations: 172.4 kB / 416.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4338, allocations: 3.938 kB / 416.5 MB, free: 8.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006532/0.4345, allocations: 71.84 kB / 416.6 MB, free: 8.285 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.0001816/0.4347, allocations: 111.2 kB / 416.7 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.4359, allocations: 362.5 kB / 417.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4359, allocations: 0 / 417.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.4363, allocations: 210.8 kB / 417.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.4369, allocations: 47.94 kB / 417.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.4401, allocations: 0.862 MB / 418.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.4406, allocations: 0.748 MB / 418.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.4407, allocations: 29.92 kB / 418.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.4408, allocations: 15.44 kB / 419 MB, free: 5.82 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.4408, allocations: 0 / 419 MB, free: 5.82 MB / 334.1 MB Notification: Performance of Templates: time 0.009483/0.4503, allocations: 2.925 MB / 421.9 MB, free: 2.918 MB / 334.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","/var/lib/jenkins/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