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.0007938/0.0007939, allocations: 96.42 kB / 17.35 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009806/0.0009806, allocations: 199.8 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002136/0.0002137, allocations: 11.98 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.0819, allocations: 51.53 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002401/0.08434, allocations: 2.379 MB / 361.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009459/0.0853, allocations: 0.705 MB / 362.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.08541, allocations: 4 kB / 362.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.08553, allocations: 31.7 kB / 362.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.08568, allocations: 79.42 kB / 362.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.08589, allocations: 71.94 kB / 362.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.08619, allocations: 334.5 kB / 363 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.08638, allocations: 90.25 kB / 363.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.08658, allocations: 119.6 kB / 363.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.08673, allocations: 123.3 kB / 363.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.08677, allocations: 16 kB / 363.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.332e-05/0.08681, allocations: 12 kB / 363.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.08685, allocations: 47.77 kB / 363.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.08699, allocations: 157 kB / 363.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.08726, allocations: 299.1 kB / 363.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.08727, allocations: 0 / 363.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08728, allocations: 0 / 363.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.08729, allocations: 0 / 363.8 MB, free: 8.727 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.0007697/0.08806, allocations: 0.5459 MB / 364.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.08811, allocations: 8.031 kB / 364.4 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.08818, allocations: 58.72 kB / 364.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.08824, allocations: 36.56 kB / 364.5 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.08851, allocations: 255.8 kB / 364.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.08854, allocations: 16.94 kB / 364.7 MB, free: 7.719 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.08859, allocations: 20.38 kB / 364.7 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.08907, allocations: 295.8 kB / 365 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.08909, allocations: 0 / 365 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.08912, allocations: 8 kB / 365 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.08913, allocations: 11.98 kB / 365.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.08956, allocations: 210.1 kB / 365.3 MB, free: 7.172 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.09098, allocations: 1.023 MB / 366.3 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.09143, allocations: 198.4 kB / 366.5 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.09181, allocations: 156.8 kB / 366.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.09184, allocations: 0 / 366.6 MB, free: 5.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.09187, allocations: 38.56 kB / 366.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.09188, allocations: 0 / 366.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001671/0.09356, allocations: 0.6001 MB / 367.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.0936, allocations: 55.39 kB / 367.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.0938, allocations: 232.9 kB / 367.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.09383, allocations: 25.7 kB / 367.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.09393, allocations: 183.8 kB / 367.8 MB, free: 4.512 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.09398, allocations: 63.12 kB / 367.8 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.09402, allocations: 21.72 kB / 367.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.09412, allocations: 330.8 kB / 368.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.09429, allocations: 79.95 kB / 368.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.09449, allocations: 130.8 kB / 368.4 MB, free: 3.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.09486, allocations: 210.7 kB / 368.6 MB, free: 3.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.09487, allocations: 3.938 kB / 368.6 MB, free: 3.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007908/0.09567, allocations: 370 kB / 368.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.09569, allocations: 4 kB / 368.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.0957, allocations: 4 kB / 368.9 MB, free: 3.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003324/0.09604, allocations: 84.86 kB / 369 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.09624, allocations: 47.92 kB / 369.1 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.09871, allocations: 1.857 MB / 370.9 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.09888, allocations: 35.8 kB / 371 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.09891, allocations: 12 kB / 371 MB, free: 1.07 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.0001153/0.09903, allocations: 150.8 kB / 371.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.09908, allocations: 19.72 kB / 371.1 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.09913, allocations: 30.17 kB / 371.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.09913, allocations: 0 / 371.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.09914, allocations: 0 / 371.2 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.09915, allocations: 4.031 kB / 371.2 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.1002, allocations: 0.6708 MB / 371.9 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1002, allocations: 0 / 371.9 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1003, allocations: 35.92 kB / 371.9 MB, free: 104 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002431/0.1006, allocations: 84.73 kB / 372 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1006, allocations: 4 kB / 372 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1373/0.238, allocations: 1.75 MB / 373.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.238, allocations: 0 / 373.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/0.2389, allocations: 486.8 kB / 374.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.2389, allocations: 103.3 kB / 374.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.239, allocations: 1.094 kB / 374.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.2392, allocations: 27.09 kB / 374.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.2392, allocations: 13.38 kB / 374.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.2392, allocations: 4.844 kB / 374.3 MB, free: 17.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.2394, allocations: 167.7 kB / 374.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2394, allocations: 0.9688 kB / 374.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.2398, allocations: 73.42 kB / 374.6 MB, free: 17.51 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.001023/0.2408, allocations: 1.006 MB / 375.6 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008097/0.2416, allocations: 389.1 kB / 376 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2417, allocations: 0.8438 kB / 376 MB, free: 16.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.2419, allocations: 216.1 kB / 376.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.2423, allocations: 37.52 kB / 376.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/0.2471, allocations: 3.307 MB / 379.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.2473, allocations: 0.7546 MB / 380.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.389e-05/0.2474, allocations: 23.17 kB / 380.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.2475, allocations: 72.77 kB / 380.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2475, allocations: 1.281 kB / 380.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.2638, allocations: 4.921 MB / 385.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.264, allocations: 246.5 kB / 385.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.965, allocations: 4 kB / 385.5 MB, free: 13.54 MB / 302.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) "" 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