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.001411/0.001411, allocations: 122.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.001498/0.001498, allocations: 202 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.412/1.412, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 59.91 kB / 358.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2644, allocations: 50.55 MB / 408.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004046/0.2685, allocations: 2.716 MB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.2698, allocations: 0.6972 MB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.27, allocations: 8 kB / 412.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.2701, allocations: 51.52 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.2704, allocations: 87.23 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.2706, allocations: 87.83 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.271, allocations: 338.6 kB / 412.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.2713, allocations: 117.6 kB / 413 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.2715, allocations: 139.5 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.2718, allocations: 131.4 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.2718, allocations: 28 kB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.2719, allocations: 32 kB / 413.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.2719, allocations: 67.7 kB / 413.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.2721, allocations: 143.3 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.2725, allocations: 317.6 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2725, allocations: 0 / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2725, allocations: 0 / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2725, allocations: 4 kB / 413.8 MB, free: 12.45 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.0009893/0.2735, allocations: 0.5884 MB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2736, allocations: 12.03 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.772e-05/0.2736, allocations: 66.67 kB / 414.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.2737, allocations: 36.73 kB / 414.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.2741, allocations: 271.8 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2741, allocations: 20.94 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.2742, allocations: 24.38 kB / 414.8 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.2747, allocations: 275.8 kB / 415.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2747, allocations: 0 / 415.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.2747, allocations: 15.94 kB / 415.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2747, allocations: 8 kB / 415.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.2752, allocations: 210.1 kB / 415.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.2768, allocations: 1.004 MB / 416.3 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.2773, allocations: 186.5 kB / 416.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004061/0.2777, allocations: 157.1 kB / 416.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.2777, allocations: 0 / 416.6 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.397e-05/0.2778, allocations: 42.47 kB / 416.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.2778, allocations: 0 / 416.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001752/0.2796, allocations: 0.5499 MB / 417.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.2797, allocations: 59.34 kB / 417.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.2799, allocations: 233 kB / 417.5 MB, free: 8.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.28, allocations: 29.7 kB / 417.6 MB, free: 8.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2801, allocations: 184.1 kB / 417.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.2802, allocations: 59.48 kB / 417.8 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.2802, allocations: 49.66 kB / 417.8 MB, free: 8.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.2804, allocations: 330.8 kB / 418.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.2806, allocations: 71.97 kB / 418.2 MB, free: 7.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.2809, allocations: 130.8 kB / 418.4 MB, free: 7.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/0.2813, allocations: 209.6 kB / 418.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2813, allocations: 11.94 kB / 418.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008465/0.2822, allocations: 342.2 kB / 418.9 MB, free: 7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2822, allocations: 11.98 kB / 418.9 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2822, allocations: 0 / 418.9 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003544/0.2826, allocations: 76.88 kB / 419 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.2828, allocations: 51.91 kB / 419 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.2858, allocations: 2.01 MB / 421.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.286, allocations: 31.78 kB / 421.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.286, allocations: 4 kB / 421.1 MB, free: 4.676 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.0001611/0.2862, allocations: 149.8 kB / 421.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.2863, allocations: 23.86 kB / 421.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.2863, allocations: 22.19 kB / 421.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2863, allocations: 4 kB / 421.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2863, allocations: 3.938 kB / 421.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.2864, allocations: 3.984 kB / 421.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.2875, allocations: 0.6577 MB / 422 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2876, allocations: 0 / 422 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.2877, allocations: 35.92 kB / 422 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/0.288, allocations: 72.8 kB / 422.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.288, allocations: 8 kB / 422.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/0.2906, allocations: 1.92 MB / 424 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2906, allocations: 0 / 424 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.2915, allocations: 460 kB / 424.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/0.2916, allocations: 100.9 kB / 424.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.2917, allocations: 8 kB / 424.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.2919, allocations: 15.98 kB / 424.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.2919, allocations: 11.98 kB / 424.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.2919, allocations: 7.938 kB / 424.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.2921, allocations: 172.5 kB / 424.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2921, allocations: 4.062 kB / 424.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.2925, allocations: 75.84 kB / 424.8 MB, free: 0.6992 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.001368/0.2939, allocations: 0.9928 MB / 425.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.2949, allocations: 375.6 kB / 426.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2949, allocations: 0 / 426.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.2952, allocations: 210.5 kB / 426.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2956, allocations: 39.38 kB / 426.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.3013, allocations: 3.085 MB / 429.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3017, allocations: 0.7518 MB / 430.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.613e-05/0.3018, allocations: 21.94 kB / 430.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.3019, allocations: 79.41 kB / 430.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3019, allocations: 0 / 430.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03257/0.3345, allocations: 5.417 MB / 435.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.93, allocations: 8.062 kB / 435.8 MB, free: 5.68 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.1.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) "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:A,C,L,R,R1,R2,VAmp,c.C,c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,der(c.v),der(l.i),f,gamma,ground.p.i,ground.p.v,l.L,l.i,l.n.i,l.n.v,l.p.i,l.p.v,l.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.homotopyType,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.strict,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v