Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 111.2 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 188.1 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 43.92 kB / 352 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.25, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003502/0.2535, allocations: 2.695 MB / 404.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.2546, allocations: 0.6739 MB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2548, allocations: 4 kB / 404.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.2549, allocations: 47.52 kB / 404.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.2551, allocations: 87.25 kB / 404.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2554, allocations: 91.81 kB / 405 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.2558, allocations: 338.5 kB / 405.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.256, allocations: 109.7 kB / 405.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.2562, allocations: 123.5 kB / 405.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.2564, allocations: 151.3 kB / 405.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.2564, allocations: 28 kB / 405.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.2565, allocations: 28 kB / 405.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.2565, allocations: 55.83 kB / 405.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.2567, allocations: 155.2 kB / 406 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.257, allocations: 316 kB / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.257, allocations: 0 / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.257, allocations: 0 / 406.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.257, allocations: 0 / 406.3 MB, free: 3.941 MB / 318.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.0009401/0.258, allocations: 0.5956 MB / 406.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.258, allocations: 11.89 kB / 406.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.616e-05/0.2581, allocations: 28.66 kB / 407 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.2584, allocations: 268.2 kB / 407.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2584, allocations: 20.94 kB / 407.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.2585, allocations: 24.38 kB / 407.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.259, allocations: 276 kB / 407.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.259, allocations: 0 / 407.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2591, allocations: 8 kB / 407.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.2591, allocations: 11.98 kB / 407.5 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.2595, allocations: 206.1 kB / 407.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.261, allocations: 1.007 MB / 408.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.2615, allocations: 198.5 kB / 408.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.2619, allocations: 153.1 kB / 409.1 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.262, allocations: 7.906 kB / 409.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.262, allocations: 38.55 kB / 409.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.262, allocations: 0 / 409.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001713/0.2637, allocations: 0.5536 MB / 409.7 MB, free: 348 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.2638, allocations: 51.41 kB / 409.7 MB, free: 284 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.264, allocations: 229 kB / 410 MB, free: 44 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.264, allocations: 29.7 kB / 410 MB, free: 8 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.2642, allocations: 183.8 kB / 410.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.2642, allocations: 67.08 kB / 410.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.2643, allocations: 53.55 kB / 410.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2644, allocations: 326.8 kB / 410.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2646, allocations: 71.95 kB / 410.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.2648, allocations: 134.8 kB / 410.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.2652, allocations: 200.2 kB / 411 MB, free: 14.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2652, allocations: 0 / 411 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008325/0.266, allocations: 360.1 kB / 411.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2661, allocations: 4 kB / 411.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2661, allocations: 4 kB / 411.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.2664, allocations: 76.86 kB / 411.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.2666, allocations: 55.91 kB / 411.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/0.2694, allocations: 1.997 MB / 413.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.2696, allocations: 27.86 kB / 413.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2697, allocations: 12 kB / 413.5 MB, free: 12.25 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.0001336/0.2698, allocations: 153.6 kB / 413.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.2699, allocations: 19.72 kB / 413.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.2699, allocations: 34.17 kB / 413.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.2699, allocations: 0 / 413.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2699, allocations: 0 / 413.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2699, allocations: 0 / 413.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2711, allocations: 0.6618 MB / 414.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2711, allocations: 0 / 414.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.2712, allocations: 39.91 kB / 414.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.2715, allocations: 72.8 kB / 414.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2715, allocations: 4.125 kB / 414.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.2739, allocations: 1.923 MB / 416.4 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2739, allocations: 0 / 416.4 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009248/0.2749, allocations: 452 kB / 416.9 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-05/0.2749, allocations: 100.8 kB / 417 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.275, allocations: 0 / 417 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.2752, allocations: 28.05 kB / 417 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.2752, allocations: 7.984 kB / 417 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.2752, allocations: 8 kB / 417 MB, free: 8.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.2754, allocations: 172.4 kB / 417.2 MB, free: 8.348 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2754, allocations: 3.938 kB / 417.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.2758, allocations: 71.84 kB / 417.3 MB, free: 8.273 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.0001103/0.2759, allocations: 107.2 kB / 417.4 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008835/0.2768, allocations: 366.4 kB / 417.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2769, allocations: 0 / 417.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.2772, allocations: 210.8 kB / 417.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.2775, allocations: 39.41 kB / 418 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.2799, allocations: 0.898 MB / 418.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.2802, allocations: 0.748 MB / 419.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.2803, allocations: 19.44 kB / 419.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2803, allocations: 0 / 419.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of Templates: time 0.005536/0.2858, allocations: 3.737 MB / 423.4 MB, free: 2.066 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches