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.001783/0.001783, allocations: 201.2 kB / 18.1 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007884/0.0007884, allocations: 96.78 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002653, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2896, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3928, allocations: 79.86 MB / 489.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.3931, allocations: 79.95 kB / 489.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01231/0.4054, allocations: 4.571 MB / 493.9 MB, free: 6.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.038e-06/0.4055, allocations: 0 / 493.9 MB, free: 6.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.4055, allocations: 11.94 kB / 493.9 MB, free: 6.969 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.0007828/0.4063, allocations: 0.5306 MB / 494.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4063, allocations: 11.97 kB / 494.5 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.4064, allocations: 32.56 kB / 494.5 MB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.4068, allocations: 260.3 kB / 494.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.4068, allocations: 20.94 kB / 494.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.4069, allocations: 24.38 kB / 494.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.4074, allocations: 284.2 kB / 495.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4074, allocations: 4.125 kB / 495.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.4074, allocations: 15.94 kB / 495.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4074, allocations: 4 kB / 495.1 MB, free: 5.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.4079, allocations: 210.1 kB / 495.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.4095, allocations: 1.019 MB / 496.3 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.4099, allocations: 198.4 kB / 496.5 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.4103, allocations: 159.4 kB / 496.7 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4104, allocations: 0 / 496.7 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4104, allocations: 46.48 kB / 496.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.4104, allocations: 0 / 496.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.00174/0.4121, allocations: 0.6267 MB / 497.3 MB, free: 3.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.4122, allocations: 55.34 kB / 497.4 MB, free: 3.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.4124, allocations: 225 kB / 497.6 MB, free: 3.035 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4125, allocations: 29.7 kB / 497.6 MB, free: 3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4126, allocations: 183.8 kB / 497.8 MB, free: 2.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.4126, allocations: 59.09 kB / 497.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.4127, allocations: 8 kB / 497.9 MB, free: 2.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4128, allocations: 334.8 kB / 498.2 MB, free: 2.414 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.413, allocations: 67.97 kB / 498.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.4132, allocations: 130.8 kB / 498.4 MB, free: 2.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.4135, allocations: 202.7 kB / 498.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4135, allocations: 3.938 kB / 498.6 MB, free: 1.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008119/0.4143, allocations: 374 kB / 499 MB, free: 1.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4144, allocations: 4 kB / 499 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4144, allocations: 7.984 kB / 499 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.4148, allocations: 92.81 kB / 499.1 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.415, allocations: 51.86 kB / 499.1 MB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.4178, allocations: 1.94 MB / 0.4893 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.418, allocations: 35.67 kB / 0.4894 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.418, allocations: 8 kB / 0.4894 GB, free: 15.32 MB / 378.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 (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.0001545/0.4182, allocations: 141.7 kB / 0.4895 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.4183, allocations: 19.72 kB / 0.4895 GB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.4183, allocations: 30.23 kB / 0.4895 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4183, allocations: 4 kB / 0.4895 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.4183, allocations: 0 / 0.4895 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4183, allocations: 0 / 0.4895 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.4195, allocations: 0.6707 MB / 0.4902 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.4195, allocations: 3.984 kB / 0.4902 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.4196, allocations: 27.98 kB / 0.4902 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002809/0.4199, allocations: 84.8 kB / 0.4903 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.42, allocations: 7.938 kB / 0.4903 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.4226, allocations: 1.94 MB / 0.4922 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4226, allocations: 4.031 kB / 0.4922 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008953/0.4235, allocations: 481 kB / 0.4927 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4236, allocations: 112.8 kB / 0.4928 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.4236, allocations: 0 / 0.4928 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4239, allocations: 28.05 kB / 0.4928 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.4239, allocations: 11.92 kB / 0.4928 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.4239, allocations: 8 kB / 0.4928 GB, free: 11.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.4241, allocations: 168.4 kB / 0.493 GB, free: 11.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4241, allocations: 4 kB / 0.493 GB, free: 11.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004403/0.4246, allocations: 79.84 kB / 0.4931 GB, free: 11.28 MB / 378.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 (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.0001926/0.4248, allocations: 107.2 kB / 0.4932 GB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009405/0.4257, allocations: 382.4 kB / 0.4935 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4257, allocations: 0 / 0.4935 GB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005852/0.4263, allocations: 286.8 kB / 0.4938 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.4268, allocations: 42.89 kB / 0.4939 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.4291, allocations: 1.031 MB / 0.4949 GB, free: 9.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4295, allocations: 0.7482 MB / 0.4956 GB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.4297, allocations: 21.95 kB / 0.4956 GB, free: 8.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.4297, allocations: 19.44 kB / 0.4956 GB, free: 8.574 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4297, allocations: 0 / 0.4956 GB, free: 8.574 MB / 378.7 MB Notification: Performance of Templates: time 0.00654/0.4362, allocations: 2.646 MB / 0.4982 GB, free: 5.949 MB / 378.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/jenkins1/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