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.001493/0.001494, allocations: 109 kB / 17.06 MB, free: 6.02 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.001489/0.001489, allocations: 191 kB / 18 MB, free: 5.102 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.523/1.523, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 47.91 kB / 351.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3762, allocations: 49.43 MB / 400.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004546/0.3808, allocations: 2.691 MB / 403.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3825, allocations: 0.6778 MB / 404.1 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.3828, allocations: 7.938 kB / 404.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.3831, allocations: 43.52 kB / 404.2 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.3834, allocations: 91.19 kB / 404.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.3837, allocations: 87.88 kB / 404.4 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.3842, allocations: 338.5 kB / 404.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.3844, allocations: 109.7 kB / 404.8 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.3847, allocations: 127.5 kB / 404.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.3849, allocations: 147.3 kB / 405.1 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.385, allocations: 28 kB / 405.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.448e-05/0.3851, allocations: 28 kB / 405.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.3852, allocations: 59.83 kB / 405.2 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.3853, allocations: 147.3 kB / 405.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.3857, allocations: 318.5 kB / 405.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3857, allocations: 0 / 405.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3858, allocations: 0 / 405.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3858, allocations: 0 / 405.6 MB, free: 3.969 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.001039/0.3868, allocations: 0.6001 MB / 406.2 MB, free: 3.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3869, allocations: 11.89 kB / 406.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.3869, allocations: 32.75 kB / 406.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.3874, allocations: 260.5 kB / 406.5 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3874, allocations: 20.94 kB / 406.6 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.3875, allocations: 24.38 kB / 406.6 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.388, allocations: 284 kB / 406.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.388, allocations: 0 / 406.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.3881, allocations: 8 kB / 406.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3881, allocations: 8 kB / 406.9 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.3885, allocations: 206.1 kB / 407.1 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.3903, allocations: 1.011 MB / 408.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.3908, allocations: 190.5 kB / 408.3 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004335/0.3913, allocations: 156.8 kB / 408.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.3913, allocations: 4 kB / 408.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3914, allocations: 34.56 kB / 408.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.3914, allocations: 0 / 408.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001799/0.3932, allocations: 0.5579 MB / 409 MB, free: 372 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.3932, allocations: 55.34 kB / 409.1 MB, free: 304 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.3936, allocations: 233 kB / 409.3 MB, free: 60 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3936, allocations: 33.7 kB / 409.3 MB, free: 20 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3938, allocations: 176.2 kB / 409.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.813e-05/0.3939, allocations: 71.41 kB / 409.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.394, allocations: 45.7 kB / 409.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3942, allocations: 334.8 kB / 409.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.3944, allocations: 67.95 kB / 410 MB, free: 15.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.3946, allocations: 134.8 kB / 410.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.395, allocations: 206.3 kB / 410.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.395, allocations: 0 / 410.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009195/0.396, allocations: 362 kB / 410.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.396, allocations: 4 kB / 410.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.396, allocations: 4 kB / 410.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.3965, allocations: 80.86 kB / 410.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.3968, allocations: 43.98 kB / 410.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.4004, allocations: 2.013 MB / 412.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.4007, allocations: 35.89 kB / 412.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.4007, allocations: 12 kB / 412.9 MB, free: 12.24 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.0002156/0.4009, allocations: 153.7 kB / 413 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.401, allocations: 19.86 kB / 413.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.4011, allocations: 30.17 kB / 413.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4011, allocations: 0 / 413.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.4011, allocations: 0 / 413.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.4011, allocations: 0 / 413.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.4025, allocations: 0.6574 MB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4025, allocations: 0 / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.4026, allocations: 35.97 kB / 413.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.4029, allocations: 72.81 kB / 413.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.403, allocations: 3.984 kB / 413.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/0.406, allocations: 1.92 MB / 415.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.406, allocations: 128 / 415.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4071, allocations: 452 kB / 416.2 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4073, allocations: 108.9 kB / 416.3 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.4073, allocations: 8.062 kB / 416.3 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.4075, allocations: 15.98 kB / 416.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.4076, allocations: 23.86 kB / 416.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.4076, allocations: 4 kB / 416.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.4078, allocations: 172.4 kB / 416.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4078, allocations: 0 / 416.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004847/0.4083, allocations: 75.89 kB / 416.6 MB, free: 8.266 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.0002024/0.4085, allocations: 107.3 kB / 416.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4095, allocations: 384.8 kB / 417.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4096, allocations: 0 / 417.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.4099, allocations: 206.9 kB / 417.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.4103, allocations: 40.53 kB / 417.3 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.4128, allocations: 0.8691 MB / 418.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.4133, allocations: 0.748 MB / 419 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.994e-05/0.4134, allocations: 21.95 kB / 419 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.4135, allocations: 19.44 kB / 419 MB, free: 5.793 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4135, allocations: 0 / 419 MB, free: 5.793 MB / 334.1 MB Notification: Performance of Templates: time 0.007234/0.4207, allocations: 2.93 MB / 421.9 MB, free: 2.887 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