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.001378/0.001378, allocations: 102.2 kB / 16.62 MB, free: 6.809 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.001462/0.001463, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.55/1.55, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 51.3 kB / 300.3 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 49.45 MB / 349.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004377/0.1223, allocations: 2.733 MB / 352.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1239, allocations: 0.67 MB / 353.1 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.1241, allocations: 4 kB / 353.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1244, allocations: 31.77 kB / 353.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1246, allocations: 79.31 kB / 353.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1249, allocations: 71.94 kB / 353.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.1253, allocations: 342.3 kB / 353.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.1256, allocations: 113.7 kB / 353.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.1259, allocations: 123.5 kB / 353.9 MB, free: 496 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.126, allocations: 147.4 kB / 354 MB, free: 348 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.1261, allocations: 28 kB / 354 MB, free: 320 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.452e-05/0.1262, allocations: 24 kB / 354.1 MB, free: 296 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1262, allocations: 63.77 kB / 354.1 MB, free: 232 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.1264, allocations: 151.2 kB / 354.3 MB, free: 80 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.1267, allocations: 311.1 kB / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1267, allocations: 0 / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1267, allocations: 0 / 354.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1268, allocations: 3.938 kB / 354.6 MB, free: 15.77 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.001016/0.1278, allocations: 0.5914 MB / 355.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.1278, allocations: 8.031 kB / 355.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.1279, allocations: 62.73 kB / 355.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.128, allocations: 32.56 kB / 355.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.1283, allocations: 263.8 kB / 355.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.1284, allocations: 20.94 kB / 355.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.1284, allocations: 28.36 kB / 355.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.129, allocations: 275.8 kB / 355.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.129, allocations: 0 / 355.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.129, allocations: 16 kB / 355.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1291, allocations: 4 kB / 355.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.1295, allocations: 206.1 kB / 356.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.1312, allocations: 1.007 MB / 357.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.1318, allocations: 186.5 kB / 357.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.1322, allocations: 164.8 kB / 357.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1322, allocations: 0 / 357.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1323, allocations: 34.56 kB / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.056e-06/0.1323, allocations: 4 kB / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001808/0.1341, allocations: 0.5571 MB / 358 MB, free: 12.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1342, allocations: 63.3 kB / 358.1 MB, free: 12.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1344, allocations: 229 kB / 358.3 MB, free: 11.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1345, allocations: 29.7 kB / 358.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1346, allocations: 171.8 kB / 358.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.1347, allocations: 67.09 kB / 358.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/0.1348, allocations: 41.7 kB / 358.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1349, allocations: 338.8 kB / 358.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.1352, allocations: 71.95 kB / 359 MB, free: 11.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.1354, allocations: 126.8 kB / 359.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.1358, allocations: 202.7 kB / 359.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1358, allocations: 3.938 kB / 359.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008307/0.1366, allocations: 347.7 kB / 359.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1367, allocations: 12.06 kB / 359.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1367, allocations: 0 / 359.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.1371, allocations: 80.73 kB / 359.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1373, allocations: 43.98 kB / 359.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.1403, allocations: 2.021 MB / 361.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.1405, allocations: 39.66 kB / 361.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1405, allocations: 12 kB / 361.9 MB, free: 7.996 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.0001555/0.1407, allocations: 133.7 kB / 362 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.1408, allocations: 23.75 kB / 362 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.1408, allocations: 30.17 kB / 362 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1408, allocations: 8 kB / 362.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1409, allocations: 0 / 362.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1409, allocations: 0 / 362.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.1421, allocations: 0.655 MB / 362.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1421, allocations: 4 kB / 362.7 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1423, allocations: 27.98 kB / 362.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002756/0.1426, allocations: 72.8 kB / 362.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1426, allocations: 8 kB / 362.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.1456, allocations: 1.923 MB / 364.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1456, allocations: 0 / 364.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.1467, allocations: 454.1 kB / 365.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.1468, allocations: 108.8 kB / 365.3 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1469, allocations: 0 / 365.3 MB, free: 4.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1471, allocations: 27.98 kB / 365.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.1471, allocations: 15.92 kB / 365.3 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1472, allocations: 11.94 kB / 365.3 MB, free: 4.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.1474, allocations: 164.5 kB / 365.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1474, allocations: 0 / 365.5 MB, free: 4.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000531/0.1479, allocations: 75.84 kB / 365.6 MB, free: 4.039 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.001458/0.1494, allocations: 0.9863 MB / 366.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1505, allocations: 370.5 kB / 366.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1505, allocations: 0 / 366.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.1509, allocations: 216.8 kB / 367.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.1515, allocations: 46.94 kB / 367.2 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1942/0.3457, allocations: 3.154 MB / 370.3 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.346, allocations: 0.7502 MB / 371.1 MB, free: 23.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.3462, allocations: 26.31 kB / 371.1 MB, free: 23.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3463, allocations: 76.14 kB / 371.2 MB, free: 23.82 MB / 302.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3463, allocations: 0 / 371.2 MB, free: 23.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.3725, allocations: 5.219 MB / 376.4 MB, free: 23.49 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.3728, allocations: 244.4 kB / 376.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.52, allocations: 0 / 376.6 MB, free: 23.23 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