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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 109.8 kB / 16.92 MB, free: 6.145 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.001156/0.001156, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.392/1.392, allocations: 222.9 MB / 241.5 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 54.41 kB / 300.7 MB, free: 5.723 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09117, allocations: 49.45 MB / 350.2 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.00376/0.09496, allocations: 2.695 MB / 352.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.09613, allocations: 0.67 MB / 353.5 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.09632, allocations: 7.938 kB / 353.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.09648, allocations: 47.56 kB / 353.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.0967, allocations: 83.25 kB / 353.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.09696, allocations: 91.77 kB / 353.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.0973, allocations: 350.3 kB / 354.1 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.09752, allocations: 105.7 kB / 354.2 MB, free: 208 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.09772, allocations: 131.5 kB / 354.3 MB, free: 76 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.09791, allocations: 143.5 kB / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.09797, allocations: 28 kB / 354.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.338e-05/0.09803, allocations: 28 kB / 354.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.0981, allocations: 59.77 kB / 354.6 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.09823, allocations: 151.2 kB / 354.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.09852, allocations: 311.1 kB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09853, allocations: 0 / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09854, allocations: 0 / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.09855, allocations: 0 / 355 MB, free: 15.37 MB / 302.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.0009462/0.0995, allocations: 0.581 MB / 355.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.09954, allocations: 12.03 kB / 355.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.57e-05/0.09961, allocations: 58.73 kB / 355.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.09969, allocations: 36.55 kB / 355.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.09997, allocations: 264.2 kB / 356 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1, allocations: 20.94 kB / 356 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.1, allocations: 24.38 kB / 356 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.1005, allocations: 279.8 kB / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1005, allocations: 0 / 356.3 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.1006, allocations: 12 kB / 356.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.1006, allocations: 12 kB / 356.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.101, allocations: 198.2 kB / 356.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.1026, allocations: 1.011 MB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.103, allocations: 190.5 kB / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.1034, allocations: 160.8 kB / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1035, allocations: 0 / 357.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1035, allocations: 42.48 kB / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.525e-06/0.1035, allocations: 4 kB / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001762/0.1053, allocations: 0.5539 MB / 358.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.1053, allocations: 59.25 kB / 358.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1055, allocations: 229 kB / 358.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1056, allocations: 29.7 kB / 358.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.1057, allocations: 175.8 kB / 359 MB, free: 11.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.1057, allocations: 67.09 kB / 359 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.1058, allocations: 45.7 kB / 359.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.1059, allocations: 330.8 kB / 359.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1061, allocations: 75.95 kB / 359.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.1063, allocations: 123.3 kB / 359.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.1067, allocations: 209.9 kB / 359.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1067, allocations: 3.938 kB / 359.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008679/0.1076, allocations: 358 kB / 360.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1076, allocations: 4 kB / 360.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1076, allocations: 4.062 kB / 360.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/0.108, allocations: 76.8 kB / 360.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1082, allocations: 59.91 kB / 360.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/0.1109, allocations: 2.001 MB / 362.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.1112, allocations: 35.67 kB / 362.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.1112, allocations: 12 kB / 362.3 MB, free: 7.594 MB / 302.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.0001213/0.1113, allocations: 145.6 kB / 362.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.1114, allocations: 15.81 kB / 362.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.1114, allocations: 30.17 kB / 362.5 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1114, allocations: 4.062 kB / 362.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.1114, allocations: 0 / 362.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1114, allocations: 0 / 362.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1125, allocations: 0.6615 MB / 363.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1126, allocations: 0 / 363.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.1127, allocations: 35.91 kB / 363.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.113, allocations: 80.92 kB / 363.3 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.113, allocations: 4 kB / 363.3 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.1154, allocations: 1.919 MB / 365.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1154, allocations: 0 / 365.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.1163, allocations: 455.9 kB / 365.7 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.1164, allocations: 104.8 kB / 365.8 MB, free: 3.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1164, allocations: 3.938 kB / 365.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.1166, allocations: 28.05 kB / 365.8 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.1167, allocations: 11.92 kB / 365.8 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1167, allocations: 11.94 kB / 365.8 MB, free: 3.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1168, allocations: 164.5 kB / 366 MB, free: 3.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1168, allocations: 4 kB / 366 MB, free: 3.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.1173, allocations: 71.84 kB / 366.1 MB, free: 3.629 MB / 302.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.001204/0.1185, allocations: 0.9927 MB / 367.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009827/0.1195, allocations: 380.2 kB / 367.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1195, allocations: 0 / 367.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.1198, allocations: 214.5 kB / 367.6 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.1202, allocations: 41.08 kB / 367.7 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1506/0.2708, allocations: 3.051 MB / 370.7 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.2711, allocations: 0.7507 MB / 371.5 MB, free: 23.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.2712, allocations: 20.95 kB / 371.5 MB, free: 23.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/0.2713, allocations: 81.55 kB / 371.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2713, allocations: 0 / 371.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.2981, allocations: 5.297 MB / 376.9 MB, free: 23.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.99, allocations: 9.266 kB / 376.9 MB, free: 23.07 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > 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) "" 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