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.001345/0.001345, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001484, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 358.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3036, allocations: 50.54 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003885/0.3075, allocations: 2.712 MB / 412 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.309, allocations: 0.705 MB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.3091, allocations: 4 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.3093, allocations: 47.52 kB / 412.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.3095, allocations: 83.25 kB / 412.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3098, allocations: 91.81 kB / 412.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00036/0.3102, allocations: 338.6 kB / 413.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.3104, allocations: 117.6 kB / 413.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.3107, allocations: 135.5 kB / 413.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3109, allocations: 143.3 kB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.311, allocations: 28 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/0.311, allocations: 24 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.3111, allocations: 63.77 kB / 413.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.3112, allocations: 143.3 kB / 413.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00039/0.3116, allocations: 318.5 kB / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3116, allocations: 0 / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3117, allocations: 0 / 414.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3117, allocations: 0 / 414.2 MB, free: 12.63 MB / 334.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.001045/0.3127, allocations: 0.5962 MB / 414.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3128, allocations: 12.03 kB / 414.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.089e-05/0.3129, allocations: 32.75 kB / 414.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.3132, allocations: 267.8 kB / 415.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.3133, allocations: 20.94 kB / 415.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.3133, allocations: 24.38 kB / 415.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.3138, allocations: 280 kB / 415.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3138, allocations: 0 / 415.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.3139, allocations: 12 kB / 415.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3139, allocations: 8 kB / 415.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.3143, allocations: 206.1 kB / 415.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.3159, allocations: 1.015 MB / 416.7 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.3164, allocations: 190.4 kB / 416.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004526/0.3169, allocations: 156.8 kB / 417 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3169, allocations: 0 / 417 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.317, allocations: 38.88 kB / 417 MB, free: 9.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.317, allocations: 4 kB / 417 MB, free: 9.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001722/0.3187, allocations: 0.5576 MB / 417.6 MB, free: 9.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.3188, allocations: 51.41 kB / 417.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.319, allocations: 233 kB / 417.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.319, allocations: 25.7 kB / 417.9 MB, free: 8.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.3191, allocations: 184.1 kB / 418.1 MB, free: 8.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3192, allocations: 59.47 kB / 418.1 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.3193, allocations: 53.66 kB / 418.2 MB, free: 8.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3194, allocations: 334.8 kB / 418.5 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.3196, allocations: 67.91 kB / 418.6 MB, free: 7.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3198, allocations: 126.8 kB / 418.7 MB, free: 7.824 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.3203, allocations: 213.6 kB / 418.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3203, allocations: 0 / 418.9 MB, free: 7.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008067/0.3211, allocations: 358.1 kB / 419.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3211, allocations: 8 kB / 419.3 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3212, allocations: 4.062 kB / 419.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.3215, allocations: 76.8 kB / 419.4 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3217, allocations: 55.91 kB / 419.4 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002855/0.3246, allocations: 1.998 MB / 421.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3248, allocations: 35.77 kB / 421.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.3248, allocations: 8 kB / 421.5 MB, free: 4.91 MB / 334.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.0001286/0.325, allocations: 137.7 kB / 421.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.325, allocations: 23.86 kB / 421.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.3251, allocations: 26.17 kB / 421.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3251, allocations: 4 kB / 421.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3251, allocations: 0 / 421.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3251, allocations: 4.062 kB / 421.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3262, allocations: 0.6582 MB / 422.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3262, allocations: 12.11 kB / 422.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.3264, allocations: 27.98 kB / 422.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.3266, allocations: 84.67 kB / 422.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3266, allocations: 4 kB / 422.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.3291, allocations: 1.908 MB / 424.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.3291, allocations: 3.984 kB / 424.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.33, allocations: 463.9 kB / 424.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.3301, allocations: 104.9 kB / 424.9 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3301, allocations: 4 kB / 424.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3303, allocations: 15.98 kB / 424.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.3303, allocations: 20.05 kB / 424.9 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3304, allocations: 7.984 kB / 424.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3305, allocations: 168.4 kB / 425.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3305, allocations: 0 / 425.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.3309, allocations: 75.84 kB / 425.2 MB, free: 0.9375 MB / 334.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.0001589/0.3311, allocations: 103.2 kB / 425.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000985/0.3321, allocations: 377.8 kB / 425.7 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3321, allocations: 0 / 425.7 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.3324, allocations: 210.6 kB / 425.9 MB, free: 232 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.3328, allocations: 43.33 kB / 425.9 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.3351, allocations: 0.8768 MB / 426.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.3357, allocations: 0.748 MB / 427.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.11e-05/0.3358, allocations: 25.94 kB / 427.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.3359, allocations: 15.44 kB / 427.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3359, allocations: 0 / 427.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Templates: time 0.006009/0.3419, allocations: 2.937 MB / 430.5 MB, free: 11.55 MB / 350.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