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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001472/0.001472, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001781, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.3 MB, free: 9.152 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 60.41 kB / 306.3 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09542, allocations: 50.54 MB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003771/0.09923, allocations: 2.757 MB / 359.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1005, allocations: 0.705 MB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.1008, allocations: 4 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.101, allocations: 35.69 kB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1012, allocations: 71.45 kB / 360.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1015, allocations: 79.91 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.1019, allocations: 326.5 kB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1021, allocations: 94.19 kB / 360.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.1024, allocations: 127.6 kB / 361 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1026, allocations: 139.3 kB / 361.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.1026, allocations: 20 kB / 361.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.131e-05/0.1027, allocations: 16 kB / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.1027, allocations: 55.77 kB / 361.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1029, allocations: 139.3 kB / 361.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1032, allocations: 299.1 kB / 361.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1032, allocations: 0 / 361.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1032, allocations: 0 / 361.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1032, allocations: 0 / 361.6 MB, free: 9.441 MB / 302.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.0009395/0.1041, allocations: 0.5888 MB / 362.2 MB, free: 8.805 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1042, allocations: 12.03 kB / 362.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.987e-05/0.1043, allocations: 40.55 kB / 362.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1045, allocations: 251.8 kB / 362.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1046, allocations: 24.88 kB / 362.6 MB, free: 8.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.1046, allocations: 24.38 kB / 362.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.1051, allocations: 280 kB / 362.9 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1052, allocations: 0 / 362.9 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.1052, allocations: 19.94 kB / 362.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1052, allocations: 4 kB / 362.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/0.1057, allocations: 206.1 kB / 363.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.1072, allocations: 1.011 MB / 364.1 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004809/0.1077, allocations: 189 kB / 364.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/0.1081, allocations: 156.7 kB / 364.4 MB, free: 6.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1082, allocations: 3.984 kB / 364.4 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1082, allocations: 42.56 kB / 364.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.1082, allocations: 0 / 364.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001767/0.11, allocations: 0.5528 MB / 365 MB, free: 5.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.11, allocations: 59.31 kB / 365.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1103, allocations: 229 kB / 365.3 MB, free: 5.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1103, allocations: 25.7 kB / 365.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1104, allocations: 175.8 kB / 365.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.1105, allocations: 67.08 kB / 365.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1106, allocations: 49.7 kB / 365.6 MB, free: 5.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1107, allocations: 330.8 kB / 365.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.1109, allocations: 67.95 kB / 366 MB, free: 4.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1112, allocations: 134.8 kB / 366.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.1116, allocations: 202.8 kB / 366.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1116, allocations: 0 / 366.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008872/0.1125, allocations: 353.9 kB / 366.7 MB, free: 4.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1125, allocations: 12.06 kB / 366.7 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1125, allocations: 0 / 366.7 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.1129, allocations: 80.78 kB / 366.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.1131, allocations: 55.91 kB / 366.8 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.1159, allocations: 1.811 MB / 368.6 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.1161, allocations: 31.69 kB / 368.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.1161, allocations: 12.06 kB / 368.7 MB, free: 1.926 MB / 302.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.0001728/0.1163, allocations: 141.7 kB / 368.8 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.1164, allocations: 23.75 kB / 368.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.1164, allocations: 22.19 kB / 368.9 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1164, allocations: 4 kB / 368.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1164, allocations: 0 / 368.9 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1165, allocations: 3.984 kB / 368.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.1177, allocations: 0.6512 MB / 369.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1177, allocations: 0 / 369.5 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.1179, allocations: 31.98 kB / 369.6 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002865/0.1182, allocations: 80.73 kB / 369.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.1182, allocations: 11.94 kB / 369.6 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1582/0.2764, allocations: 1.719 MB / 371.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.2765, allocations: 3.656 kB / 371.4 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.2775, allocations: 462.3 kB / 371.8 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.2776, allocations: 100.1 kB / 371.9 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.2776, allocations: 8.094 kB / 371.9 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2778, allocations: 23.89 kB / 372 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.2779, allocations: 12.61 kB / 372 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.2779, allocations: 3.875 kB / 372 MB, free: 18.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.2781, allocations: 168.7 kB / 372.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2781, allocations: 0 / 372.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005073/0.2786, allocations: 70.97 kB / 372.2 MB, free: 18.57 MB / 302.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.0001592/0.2788, allocations: 109.2 kB / 372.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.2798, allocations: 370.1 kB / 372.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2799, allocations: 0 / 372.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.2802, allocations: 207.1 kB / 372.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.2806, allocations: 39.98 kB / 372.9 MB, free: 18.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.2831, allocations: 0.9685 MB / 373.9 MB, free: 17.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2833, allocations: 0.7513 MB / 374.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.2835, allocations: 18.73 kB / 374.6 MB, free: 17.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.2835, allocations: 17.47 kB / 374.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.9e-07/0.2835, allocations: 0 / 374.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of Templates: time 0.006681/0.2902, allocations: 2.72 MB / 377.4 MB, free: 17.04 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches