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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.298, allocations: 50.55 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003467/0.3015, allocations: 2.706 MB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3028, allocations: 0.6972 MB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.3029, allocations: 8 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.3031, allocations: 51.5 kB / 412.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.3033, allocations: 87.25 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.3036, allocations: 91.81 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000346/0.3039, allocations: 330.6 kB / 412.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.3042, allocations: 121.6 kB / 412.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002699/0.3044, allocations: 131.5 kB / 413 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.3046, allocations: 143.4 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.3047, allocations: 28 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.252e-05/0.3047, allocations: 28 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.3048, allocations: 67.7 kB / 413.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.305, allocations: 139.3 kB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.3053, allocations: 316.5 kB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3053, allocations: 4 kB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3053, allocations: 0 / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.3053, allocations: 4 kB / 413.7 MB, free: 12.54 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.0009566/0.3063, allocations: 0.5848 MB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3064, allocations: 12.03 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.3064, allocations: 58.73 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.3065, allocations: 36.5 kB / 414.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.3068, allocations: 263.8 kB / 414.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.3069, allocations: 20.94 kB / 414.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.3069, allocations: 28.38 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.3074, allocations: 279.8 kB / 415 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3074, allocations: 0 / 415 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3074, allocations: 12 kB / 415 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3075, allocations: 4 kB / 415 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.3079, allocations: 214.1 kB / 415.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.3094, allocations: 1.015 MB / 416.2 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.31, allocations: 182.6 kB / 416.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.3104, allocations: 156.8 kB / 416.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3104, allocations: 4 kB / 416.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3105, allocations: 42.5 kB / 416.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.3105, allocations: 0 / 416.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001728/0.3122, allocations: 0.55 MB / 417.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3123, allocations: 55.41 kB / 417.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3125, allocations: 232.9 kB / 417.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.3125, allocations: 29.7 kB / 417.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3126, allocations: 179.8 kB / 417.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.3127, allocations: 59.19 kB / 417.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.3128, allocations: 49.61 kB / 417.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3129, allocations: 330.8 kB / 418.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.313, allocations: 67.97 kB / 418.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.3133, allocations: 134.8 kB / 418.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003763/0.3137, allocations: 202.1 kB / 418.5 MB, free: 7.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3137, allocations: 7.938 kB / 418.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008579/0.3145, allocations: 350 kB / 418.8 MB, free: 7.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3146, allocations: 8 kB / 418.8 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3146, allocations: 0 / 418.8 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/0.315, allocations: 76.86 kB / 418.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.3152, allocations: 55.91 kB / 419 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002836/0.318, allocations: 1.998 MB / 420.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.3182, allocations: 31.75 kB / 421 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.3183, allocations: 8 kB / 421 MB, free: 4.785 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.0001389/0.3184, allocations: 141.7 kB / 421.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.787e-05/0.3185, allocations: 23.88 kB / 421.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.3185, allocations: 30.17 kB / 421.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3185, allocations: 4 kB / 421.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3185, allocations: 0 / 421.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3185, allocations: 8.016 kB / 421.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3197, allocations: 0.6573 MB / 421.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3197, allocations: 7.875 kB / 421.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.3199, allocations: 31.98 kB / 421.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/0.3202, allocations: 72.8 kB / 422 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3202, allocations: 8 kB / 422 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.3226, allocations: 1.916 MB / 423.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3226, allocations: 4 kB / 423.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008955/0.3235, allocations: 458.6 kB / 424.3 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.3236, allocations: 92.95 kB / 424.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3236, allocations: 7.984 kB / 424.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.3238, allocations: 24.05 kB / 424.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.3239, allocations: 7.984 kB / 424.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.3239, allocations: 11.94 kB / 424.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.324, allocations: 168.5 kB / 424.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.324, allocations: 0 / 424.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004126/0.3245, allocations: 75.84 kB / 424.7 MB, free: 0.8164 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.001241/0.3257, allocations: 0.9926 MB / 425.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009508/0.3267, allocations: 379.7 kB / 426.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3267, allocations: 3.938 kB / 426.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.327, allocations: 206.5 kB / 426.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3274, allocations: 40.2 kB / 426.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.3327, allocations: 3.073 MB / 429.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.333, allocations: 0.7558 MB / 430.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.8e-05/0.3331, allocations: 17.95 kB / 430.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3332, allocations: 75.41 kB / 430.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3332, allocations: 0 / 430.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.3601, allocations: 5.516 MB / 435.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.31, allocations: 8 kB / 435.8 MB, free: 5.711 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > 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","/var/lib/jenkins1/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