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.001113/0.001113, allocations: 107.1 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001234, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 64.53 kB / 306.6 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09927, allocations: 50.53 MB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003571/0.1029, allocations: 2.755 MB / 359.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1045, allocations: 0.7127 MB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.1048, allocations: 4 kB / 360.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.1051, allocations: 35.7 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1053, allocations: 71.44 kB / 360.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1056, allocations: 83.86 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.1061, allocations: 338.6 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1063, allocations: 113.6 kB / 361.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.1066, allocations: 135.6 kB / 361.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1068, allocations: 143.3 kB / 361.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.1069, allocations: 24 kB / 361.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.197e-05/0.1069, allocations: 28 kB / 361.5 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.107, allocations: 63.77 kB / 361.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.1071, allocations: 143.3 kB / 361.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.1074, allocations: 315.1 kB / 362 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1075, allocations: 0 / 362 MB, free: 9.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1075, allocations: 0 / 362 MB, free: 9.117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.1075, allocations: 4 kB / 362 MB, free: 9.113 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.001002/0.1085, allocations: 0.5849 MB / 362.6 MB, free: 8.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1085, allocations: 8.031 kB / 362.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.625e-05/0.1086, allocations: 62.72 kB / 362.7 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.1087, allocations: 32.56 kB / 362.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.109, allocations: 255.7 kB / 363 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.109, allocations: 20.94 kB / 363 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/0.1091, allocations: 24.38 kB / 363 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.1096, allocations: 279.8 kB / 363.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1097, allocations: 0 / 363.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.1097, allocations: 12 kB / 363.3 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1097, allocations: 4 kB / 363.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004591/0.1102, allocations: 210.1 kB / 363.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.1118, allocations: 1.011 MB / 364.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.1124, allocations: 190.4 kB / 364.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.1128, allocations: 160.8 kB / 364.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1128, allocations: 7.984 kB / 364.9 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1129, allocations: 34.56 kB / 364.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.1129, allocations: 0 / 364.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001868/0.1148, allocations: 0.5602 MB / 365.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1148, allocations: 59.34 kB / 365.5 MB, free: 5.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.1151, allocations: 229 kB / 365.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.1152, allocations: 29.7 kB / 365.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1153, allocations: 179.8 kB / 366 MB, free: 4.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.1154, allocations: 63.09 kB / 366 MB, free: 4.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.941e-05/0.1155, allocations: 45.7 kB / 366.1 MB, free: 4.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1156, allocations: 334.8 kB / 366.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.1158, allocations: 67.91 kB / 366.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.116, allocations: 130.8 kB / 366.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.1164, allocations: 205.7 kB / 366.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.1164, allocations: 3.938 kB / 366.8 MB, free: 4.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008714/0.1173, allocations: 354 kB / 367.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.1173, allocations: 8 kB / 367.1 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1173, allocations: 0 / 367.1 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004491/0.1178, allocations: 80.86 kB / 367.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.118, allocations: 55.91 kB / 367.3 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.1212, allocations: 1.994 MB / 369.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.1215, allocations: 35.67 kB / 369.3 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1215, allocations: 12 kB / 369.3 MB, free: 1.344 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.0001932/0.1217, allocations: 138.9 kB / 369.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.1218, allocations: 23.72 kB / 369.5 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.909e-05/0.1219, allocations: 30.17 kB / 369.5 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1219, allocations: 4 kB / 369.5 MB, free: 1.148 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1219, allocations: 3.938 kB / 369.5 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1219, allocations: 0 / 369.5 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1232, allocations: 0.6551 MB / 370.2 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1232, allocations: 0 / 370.2 MB, free: 440 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1234, allocations: 36.11 kB / 370.2 MB, free: 404 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.1237, allocations: 80.73 kB / 370.3 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.1237, allocations: 4 kB / 370.3 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1911/0.3148, allocations: 1.912 MB / 372.2 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3149, allocations: 0 / 372.2 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009634/0.3158, allocations: 458.2 kB / 372.6 MB, free: 18.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.3159, allocations: 99.31 kB / 372.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.316, allocations: 4.875 kB / 372.7 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.3162, allocations: 21.45 kB / 372.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.3162, allocations: 13.95 kB / 372.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3163, allocations: 3.703 kB / 372.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001521/0.3164, allocations: 173.7 kB / 372.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3164, allocations: 0 / 372.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.3169, allocations: 74.08 kB / 373 MB, free: 18.25 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.001094/0.318, allocations: 0.9959 MB / 374 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009354/0.319, allocations: 381.3 kB / 374.4 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.319, allocations: 1.031 kB / 374.4 MB, free: 17.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.3193, allocations: 205.8 kB / 374.6 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.3197, allocations: 40.84 kB / 374.6 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.3249, allocations: 3.192 MB / 377.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.3251, allocations: 0.7495 MB / 378.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3252, allocations: 20.5 kB / 378.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.3253, allocations: 77.41 kB / 378.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3253, allocations: 0 / 378.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.3511, allocations: 5.197 MB / 383.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.3513, allocations: 249.4 kB / 384.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.313, allocations: 4 kB / 384.1 MB, free: 14.03 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