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.001403/0.001403, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 104.3 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.818e-05, allocations: 4 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.4391, allocations: 79.19 MB / 474.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4394, allocations: 80.14 kB / 474.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01086/0.4502, allocations: 4.523 MB / 479 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4503, allocations: 3.938 kB / 479 MB, free: 10.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.783e-05/0.4503, allocations: 12 kB / 479 MB, free: 10.07 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.0005768/0.4509, allocations: 0.5072 MB / 479.5 MB, free: 9.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4509, allocations: 12.03 kB / 479.5 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.451, allocations: 27.72 kB / 479.5 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4513, allocations: 256.4 kB / 479.8 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.4513, allocations: 8 kB / 479.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.4514, allocations: 15.94 kB / 479.8 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002353/0.4516, allocations: 156.2 kB / 480 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.4519, allocations: 214 kB / 480.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4519, allocations: 0 / 480.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.452, allocations: 0 / 480.2 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.452, allocations: 15.72 kB / 480.2 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.4532, allocations: 0.9692 MB / 481.2 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.4535, allocations: 153.8 kB / 481.3 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.4538, allocations: 136.8 kB / 481.4 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.4539, allocations: 0 / 481.4 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.4539, allocations: 34.56 kB / 481.5 MB, free: 7.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.4539, allocations: 3.938 kB / 481.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005761/0.4545, allocations: 225.2 kB / 481.7 MB, free: 7.609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.4545, allocations: 59.34 kB / 481.8 MB, free: 7.539 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.4547, allocations: 175.6 kB / 481.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.4547, allocations: 25.7 kB / 482 MB, free: 7.359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.4548, allocations: 184.3 kB / 482.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.4548, allocations: 65.72 kB / 482.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.4548, allocations: 0 / 482.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.4549, allocations: 328.1 kB / 482.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.455, allocations: 44.31 kB / 482.6 MB, free: 6.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.258e-05/0.4551, allocations: 103.2 kB / 482.7 MB, free: 6.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.332e-05/0.4551, allocations: 63.91 kB / 482.7 MB, free: 6.652 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4552, allocations: 0 / 482.7 MB, free: 6.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005117/0.4557, allocations: 288.9 kB / 483 MB, free: 6.406 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4557, allocations: 4 kB / 483 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4557, allocations: 8.688 kB / 483 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.4559, allocations: 51.14 kB / 483.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.4561, allocations: 54.92 kB / 483.1 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.4574, allocations: 1.603 MB / 484.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.4575, allocations: 27.77 kB / 484.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.4576, allocations: 10 kB / 484.8 MB, free: 4.68 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 0.0001215/0.4577, allocations: 122.1 kB / 484.9 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.4577, allocations: 15.81 kB / 484.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.4578, allocations: 21.66 kB / 484.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4578, allocations: 4 kB / 484.9 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.4578, allocations: 0 / 484.9 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4578, allocations: 3.984 kB / 484.9 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.4585, allocations: 0.5599 MB / 485.5 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4585, allocations: 2.25 kB / 485.5 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.4586, allocations: 38.67 kB / 485.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/0.4588, allocations: 46.64 kB / 485.6 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.4588, allocations: 0 / 485.6 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.4603, allocations: 1.713 MB / 487.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4603, allocations: 3.938 kB / 487.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.4608, allocations: 394.5 kB / 487.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.4609, allocations: 100.8 kB / 487.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.4609, allocations: 0 / 487.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.4611, allocations: 19.98 kB / 487.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.4611, allocations: 11.98 kB / 487.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4611, allocations: 4 kB / 487.8 MB, free: 1.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.027e-05/0.4612, allocations: 155.3 kB / 488 MB, free: 1.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4612, allocations: 0 / 488 MB, free: 1.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.4616, allocations: 71.75 kB / 488 MB, free: 1.555 MB / 346.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.0001371/0.4617, allocations: 103.2 kB / 488.1 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.4621, allocations: 254.7 kB / 488.4 MB, free: 1.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4621, allocations: 4.062 kB / 488.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004427/0.4625, allocations: 254.1 kB / 488.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.4628, allocations: 29.23 kB / 488.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.4647, allocations: 0.7252 MB / 489.4 MB, free: 264 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.465, allocations: 0.7599 MB / 490.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.048e-05/0.4651, allocations: 18.08 kB / 490.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.4651, allocations: 19.44 kB / 490.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4651, allocations: 0 / 490.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Templates: time 0.004912/0.47, allocations: 2.36 MB / 492.5 MB, free: 13.14 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