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.001751/0.001751, allocations: 100.6 kB / 16.5 MB, free: 6.688 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.001785/0.001785, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.618/1.618, allocations: 222.9 MB / 241.1 MB, free: 13.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001888, allocations: 48.11 kB / 300.1 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1413, allocations: 49.45 MB / 349.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004948/0.1463, allocations: 2.74 MB / 352.3 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1478, allocations: 0.6584 MB / 352.9 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.1482, allocations: 11.94 kB / 352.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.1485, allocations: 35.77 kB / 353 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.1489, allocations: 75.38 kB / 353 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.1493, allocations: 79.86 kB / 353.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.15, allocations: 322.5 kB / 353.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.1503, allocations: 94.27 kB / 353.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.1507, allocations: 123.5 kB / 353.7 MB, free: 392 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.1509, allocations: 131.4 kB / 353.8 MB, free: 260 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.151, allocations: 20 kB / 353.8 MB, free: 240 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.1511, allocations: 20 kB / 353.8 MB, free: 220 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.1511, allocations: 55.77 kB / 353.9 MB, free: 164 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.1513, allocations: 143.2 kB / 354 MB, free: 20 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.1517, allocations: 299.1 kB / 354.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1517, allocations: 0 / 354.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1517, allocations: 0 / 354.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1518, allocations: 0 / 354.3 MB, free: 15.73 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.001211/0.153, allocations: 0.5849 MB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.153, allocations: 8.031 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.193e-05/0.1531, allocations: 58.73 kB / 355 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.1532, allocations: 32.56 kB / 355 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1536, allocations: 267.7 kB / 355.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1536, allocations: 24.94 kB / 355.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.1537, allocations: 24.38 kB / 355.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.1542, allocations: 279.8 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1543, allocations: 3.938 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.1543, allocations: 12 kB / 355.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1543, allocations: 8 kB / 355.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.1548, allocations: 202.2 kB / 355.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1566, allocations: 1.011 MB / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005004/0.1571, allocations: 190.5 kB / 357 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.1575, allocations: 156.8 kB / 357.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1576, allocations: 0 / 357.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1576, allocations: 46.48 kB / 357.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.1576, allocations: 0 / 357.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001744/0.1594, allocations: 0.5578 MB / 357.7 MB, free: 12.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1594, allocations: 55.31 kB / 357.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1597, allocations: 229 kB / 358 MB, free: 11.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1597, allocations: 25.7 kB / 358.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1598, allocations: 183.8 kB / 358.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.1599, allocations: 59.09 kB / 358.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.761e-05/0.16, allocations: 53.7 kB / 358.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1602, allocations: 326.8 kB / 358.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.1604, allocations: 71.95 kB / 358.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1606, allocations: 122.8 kB / 358.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004029/0.161, allocations: 213.5 kB / 359.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.161, allocations: 3.938 kB / 359.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000881/0.1619, allocations: 346 kB / 359.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.1619, allocations: 10.5 kB / 359.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.162, allocations: 0 / 359.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00041/0.1624, allocations: 84.86 kB / 359.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.1626, allocations: 51.91 kB / 359.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003016/0.1656, allocations: 1.814 MB / 361.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.1659, allocations: 31.81 kB / 361.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.1659, allocations: 12 kB / 361.4 MB, free: 8.156 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.0001659/0.1661, allocations: 145.8 kB / 361.5 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/0.1661, allocations: 19.81 kB / 361.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.1662, allocations: 22.19 kB / 361.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1662, allocations: 4 kB / 361.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1662, allocations: 0 / 361.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1662, allocations: 3.984 kB / 361.6 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.1675, allocations: 0.6512 MB / 362.2 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1675, allocations: 8 kB / 362.3 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.1677, allocations: 31.92 kB / 362.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002807/0.168, allocations: 80.73 kB / 362.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.168, allocations: 4 kB / 362.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/0.1705, allocations: 1.717 MB / 364.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1705, allocations: 4.062 kB / 364.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1716, allocations: 455.7 kB / 364.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.1717, allocations: 105 kB / 364.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.1718, allocations: 4 kB / 364.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.1721, allocations: 27.98 kB / 364.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.1721, allocations: 11.98 kB / 364.7 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1722, allocations: 7.984 kB / 364.7 MB, free: 4.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1723, allocations: 164.5 kB / 364.8 MB, free: 4.477 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1724, allocations: 3.938 kB / 364.8 MB, free: 4.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005135/0.1729, allocations: 79.75 kB / 364.9 MB, free: 4.395 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.001419/0.1743, allocations: 0.9963 MB / 365.9 MB, free: 3.367 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001035/0.1754, allocations: 358.8 kB / 366.3 MB, free: 3.004 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1754, allocations: 4.125 kB / 366.3 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.1759, allocations: 210.5 kB / 366.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.1765, allocations: 46.08 kB / 366.5 MB, free: 2.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2065/0.383, allocations: 3.153 MB / 369.7 MB, free: 24.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3833, allocations: 0.7498 MB / 370.4 MB, free: 23.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.3835, allocations: 23.19 kB / 370.5 MB, free: 23.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3836, allocations: 73.5 kB / 370.5 MB, free: 23.67 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3836, allocations: 0 / 370.5 MB, free: 23.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.4044, allocations: 5.022 MB / 375.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.4046, allocations: 246 kB / 375.8 MB, free: 23.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.411, allocations: 3.875 kB / 375.8 MB, free: 23.09 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