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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009711, allocations: 97.12 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 8 kB / 351.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2844, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3847, allocations: 79.11 MB / 480.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.3851, allocations: 85.03 kB / 480.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01214/0.3972, allocations: 4.525 MB / 485.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3973, allocations: 3.938 kB / 485.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.3973, allocations: 8 kB / 485.2 MB, free: 12.73 MB / 362.7 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.0009991/0.3983, allocations: 0.5304 MB / 485.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3984, allocations: 8.031 kB / 485.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.3985, allocations: 31.62 kB / 485.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.399, allocations: 255.2 kB / 486.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.399, allocations: 20.5 kB / 486.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/0.3991, allocations: 27.91 kB / 486.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.3996, allocations: 280 kB / 486.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3996, allocations: 3.953 kB / 486.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.3997, allocations: 8 kB / 486.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3997, allocations: 4 kB / 486.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/0.4002, allocations: 218.1 kB / 486.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.4019, allocations: 1.019 MB / 487.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.4024, allocations: 190.5 kB / 487.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.4024, allocations: 0 / 487.8 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.4024, allocations: 42.5 kB / 487.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.4024, allocations: 4 kB / 487.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001737/0.4042, allocations: 0.6034 MB / 488.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.4042, allocations: 55.41 kB / 488.5 MB, free: 9.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.4045, allocations: 208 kB / 488.7 MB, free: 9.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.4045, allocations: 29.7 kB / 488.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4046, allocations: 175.8 kB / 488.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.179e-05/0.4047, allocations: 59.19 kB / 489 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.4047, allocations: 4 kB / 489 MB, free: 8.742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4048, allocations: 346.7 kB / 489.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.405, allocations: 63.97 kB / 489.4 MB, free: 8.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.4052, allocations: 131 kB / 489.5 MB, free: 8.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.4054, allocations: 80.92 kB / 489.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4054, allocations: 4 kB / 489.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008439/0.4063, allocations: 368.8 kB / 490 MB, free: 7.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4063, allocations: 4 kB / 490 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4063, allocations: 8.031 kB / 490 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.4068, allocations: 84.75 kB / 490.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.4071, allocations: 51.91 kB / 490.1 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.4101, allocations: 1.89 MB / 492 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.4103, allocations: 31.73 kB / 492 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.4104, allocations: 12 kB / 492 MB, free: 5.512 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.4105, allocations: 134.3 kB / 492.2 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.4106, allocations: 23.67 kB / 492.2 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.257e-05/0.4107, allocations: 34.11 kB / 492.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4107, allocations: 4.062 kB / 492.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4107, allocations: 0 / 492.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4107, allocations: 0 / 492.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.411, allocations: 301.5 kB / 492.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4111, allocations: 0 / 492.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.4112, allocations: 27.98 kB / 492.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002789/0.4115, allocations: 88.75 kB / 492.6 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.4115, allocations: 0 / 492.6 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.4138, allocations: 1.803 MB / 494.4 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4138, allocations: 0 / 494.4 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/0.4147, allocations: 470.3 kB / 494.9 MB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.4148, allocations: 96.86 kB / 495 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.4149, allocations: 7.984 kB / 495 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.4151, allocations: 31.94 kB / 495 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.4151, allocations: 11.98 kB / 495 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.4152, allocations: 4 kB / 495 MB, free: 2.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.4153, allocations: 172.5 kB / 495.2 MB, free: 2.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4153, allocations: 0 / 495.2 MB, free: 2.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.4158, allocations: 71.84 kB / 495.3 MB, free: 2.027 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.416, allocations: 107.2 kB / 495.4 MB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000916/0.4169, allocations: 386.4 kB / 495.8 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4169, allocations: 384 / 495.8 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.4172, allocations: 214.5 kB / 496 MB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.4176, allocations: 39.22 kB / 496 MB, free: 1.262 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.42, allocations: 1.031 MB / 497 MB, free: 212 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.4205, allocations: 0.7521 MB / 497.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.4206, allocations: 29.92 kB / 497.8 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.4206, allocations: 19.44 kB / 497.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.334e-06/0.4206, allocations: 0 / 497.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of Templates: time 0.006552/0.4272, allocations: 2.585 MB / 0.4887 GB, free: 12.82 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches