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.00118/0.00118, allocations: 103.3 kB / 17.73 MB, free: 5.324 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.001141/0.001141, allocations: 192.1 kB / 18.67 MB, free: 4.395 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.351/1.351, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 51.92 kB / 352 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2985, allocations: 49.44 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00401/0.3026, allocations: 2.701 MB / 404.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3038, allocations: 0.67 MB / 404.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.304, allocations: 4 kB / 404.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.3042, allocations: 47.52 kB / 404.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.3044, allocations: 91.23 kB / 405 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.3046, allocations: 83.83 kB / 405 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.305, allocations: 338.5 kB / 405.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.3052, allocations: 113.7 kB / 405.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.3054, allocations: 131.5 kB / 405.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3055, allocations: 143.3 kB / 405.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.3056, allocations: 28 kB / 405.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.751e-05/0.3057, allocations: 28 kB / 405.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.3057, allocations: 55.83 kB / 405.9 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.3058, allocations: 147.2 kB / 406 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.3061, allocations: 320 kB / 406.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3062, allocations: 4 kB / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3062, allocations: 0 / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.3062, allocations: 0 / 406.3 MB, free: 3.973 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.0009727/0.3072, allocations: 0.5848 MB / 406.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3072, allocations: 19.89 kB / 406.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.3073, allocations: 28.66 kB / 407 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.3077, allocations: 268.3 kB / 407.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3077, allocations: 16.94 kB / 407.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.3077, allocations: 28.31 kB / 407.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.3082, allocations: 280 kB / 407.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3082, allocations: 0 / 407.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.3083, allocations: 12 kB / 407.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3083, allocations: 4 kB / 407.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.3087, allocations: 206.1 kB / 407.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.3102, allocations: 1.011 MB / 408.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.3107, allocations: 186.4 kB / 408.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.3111, allocations: 165 kB / 409.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3111, allocations: 3.906 kB / 409.1 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3112, allocations: 38.55 kB / 409.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.3112, allocations: 0 / 409.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001678/0.3129, allocations: 0.5536 MB / 409.7 MB, free: 380 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3129, allocations: 55.41 kB / 409.8 MB, free: 312 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.3131, allocations: 229 kB / 410 MB, free: 72 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3131, allocations: 33.7 kB / 410 MB, free: 32 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3133, allocations: 175.8 kB / 410.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.3133, allocations: 67.09 kB / 410.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.3134, allocations: 49.61 kB / 410.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3135, allocations: 334.8 kB / 410.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3137, allocations: 67.95 kB / 410.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.3139, allocations: 134.8 kB / 410.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.3143, allocations: 200.5 kB / 411 MB, free: 14.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3143, allocations: 4 kB / 411 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008183/0.3151, allocations: 351.9 kB / 411.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3151, allocations: 8 kB / 411.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3151, allocations: 4.062 kB / 411.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.3155, allocations: 76.8 kB / 411.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3157, allocations: 47.92 kB / 411.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.3185, allocations: 2.013 MB / 413.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3187, allocations: 31.89 kB / 413.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.3188, allocations: 8 kB / 413.5 MB, free: 12.27 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.3189, allocations: 149.6 kB / 413.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.319, allocations: 23.72 kB / 413.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.319, allocations: 26.17 kB / 413.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.319, allocations: 4 kB / 413.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.319, allocations: 0 / 413.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3191, allocations: 4 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.3202, allocations: 0.6539 MB / 414.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3202, allocations: 0 / 414.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3204, allocations: 35.97 kB / 414.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002547/0.3206, allocations: 72.81 kB / 414.5 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.3206, allocations: 11.98 kB / 414.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.3229, allocations: 1.92 MB / 416.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.323, allocations: 0 / 416.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000917/0.3239, allocations: 455.9 kB / 416.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.324, allocations: 96.84 kB / 417 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.324, allocations: 8 kB / 417 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.3243, allocations: 23.92 kB / 417 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.3243, allocations: 11.92 kB / 417 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.3243, allocations: 12 kB / 417 MB, free: 8.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.3245, allocations: 176.4 kB / 417.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3245, allocations: 0 / 417.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.325, allocations: 75.84 kB / 417.3 MB, free: 8.285 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.0001677/0.3252, allocations: 95.25 kB / 417.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009379/0.3261, allocations: 378.4 kB / 417.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3261, allocations: 0 / 417.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.3264, allocations: 206.5 kB / 417.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.3268, allocations: 36.16 kB / 418 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.3293, allocations: 0.8905 MB / 418.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.3296, allocations: 0.748 MB / 419.6 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.3297, allocations: 19.44 kB / 419.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3297, allocations: 0 / 419.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of Templates: time 0.006411/0.3361, allocations: 3.777 MB / 423.4 MB, free: 2.055 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