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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 195.8 kB / 14.16 MB, free: 1.156 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009184/0.0009182, allocations: 87.59 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.641e-05, allocations: 4 kB / 350.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09045, allocations: 51.49 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/0.4015, allocations: 79.85 MB / 481.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/0.4018, allocations: 84.64 kB / 482 MB, free: 9.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.4122, allocations: 4.572 MB / 486.5 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4122, allocations: 0 / 486.5 MB, free: 5.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.4122, allocations: 8 kB / 486.6 MB, free: 5.668 MB / 346.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.0005281/0.4128, allocations: 0.5069 MB / 487.1 MB, free: 5.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.4128, allocations: 12.03 kB / 487.1 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.4129, allocations: 23.72 kB / 487.1 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.4132, allocations: 267.7 kB / 487.4 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4132, allocations: 20 kB / 487.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.4132, allocations: 23.56 kB / 487.4 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.4136, allocations: 255.4 kB / 487.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4136, allocations: 0 / 487.7 MB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.4136, allocations: 11.25 kB / 487.7 MB, free: 4.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.4136, allocations: 4 kB / 487.7 MB, free: 4.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.4139, allocations: 170 kB / 487.8 MB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4151, allocations: 1.031 MB / 488.9 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.4154, allocations: 155.3 kB / 489 MB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.4157, allocations: 137 kB / 489.1 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.4157, allocations: 4 kB / 489.2 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.4157, allocations: 37.88 kB / 489.2 MB, free: 3.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.263e-06/0.4157, allocations: 0 / 489.2 MB, free: 3.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005667/0.4163, allocations: 243.5 kB / 489.4 MB, free: 3.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.4163, allocations: 55.41 kB / 489.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.4165, allocations: 197.5 kB / 489.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.4165, allocations: 33.27 kB / 489.7 MB, free: 2.836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.4166, allocations: 173.3 kB / 489.9 MB, free: 2.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.4166, allocations: 69.95 kB / 489.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.4166, allocations: 7.75 kB / 490 MB, free: 2.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.4167, allocations: 330.1 kB / 490.3 MB, free: 2.301 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.668e-05/0.4168, allocations: 46.25 kB / 490.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.4169, allocations: 112.3 kB / 490.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.417, allocations: 70.16 kB / 490.5 MB, free: 2.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.417, allocations: 4 kB / 490.5 MB, free: 2.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005348/0.4175, allocations: 311.2 kB / 490.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4176, allocations: 13.23 kB / 490.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4176, allocations: 4.031 kB / 490.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.4178, allocations: 50.16 kB / 490.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.418, allocations: 55.19 kB / 490.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.4196, allocations: 1.769 MB / 492.7 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.4198, allocations: 38.56 kB / 492.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.4199, allocations: 8 kB / 492.7 MB, free: 15.96 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.42, allocations: 115.6 kB / 492.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.42, allocations: 23.78 kB / 492.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.4201, allocations: 25.78 kB / 492.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4201, allocations: 0.5 kB / 492.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4201, allocations: 3.953 kB / 492.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4201, allocations: 3.984 kB / 492.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009434/0.421, allocations: 0.6211 MB / 493.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4211, allocations: 5.125 kB / 493.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.4212, allocations: 23.98 kB / 493.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.4214, allocations: 47.34 kB / 493.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.4214, allocations: 8.547 kB / 493.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.4234, allocations: 1.766 MB / 495.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4235, allocations: 4.062 kB / 495.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.4241, allocations: 401.6 kB / 495.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.4242, allocations: 104.8 kB / 495.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.4242, allocations: 4 kB / 495.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.4244, allocations: 23.98 kB / 495.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.4245, allocations: 7.984 kB / 495.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4245, allocations: 8.062 kB / 495.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.4247, allocations: 169.4 kB / 496.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4247, allocations: 0 / 496.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004133/0.4251, allocations: 79.84 kB / 496.2 MB, free: 12.47 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.4253, allocations: 107.2 kB / 496.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.4261, allocations: 346 kB / 496.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4261, allocations: 6.344 kB / 496.6 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.4267, allocations: 272.4 kB / 496.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.427, allocations: 34.69 kB / 496.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.4292, allocations: 0.7317 MB / 497.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.4296, allocations: 0.7599 MB / 498.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.462e-05/0.4297, allocations: 26.06 kB / 498.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.4298, allocations: 15.44 kB / 498.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4298, allocations: 0 / 498.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of Templates: time 0.005406/0.4352, allocations: 2.614 MB / 0.4893 GB, free: 7.578 MB / 362.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches