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.0009181/0.0009182, allocations: 90.53 kB / 16.65 MB, free: 6.348 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.001094/0.001094, allocations: 180.5 kB / 17.56 MB, free: 5.949 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.543/1.543, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002817, allocations: 11.98 kB / 301.6 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 50.41 MB / 352 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003775/0.1281, allocations: 2.374 MB / 354.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1298, allocations: 0.6429 MB / 355 MB, free: 320 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003969/0.1302, allocations: 7.938 kB / 355 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.1305, allocations: 31.77 kB / 355 MB, free: 280 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1308, allocations: 83.38 kB / 355.1 MB, free: 196 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1312, allocations: 75.86 kB / 355.2 MB, free: 120 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.1318, allocations: 326.5 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.1321, allocations: 95.2 kB / 355.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.1324, allocations: 107.5 kB / 355.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1326, allocations: 127.4 kB / 355.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.104e-05/0.1327, allocations: 15.98 kB / 355.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.113e-05/0.1328, allocations: 16 kB / 355.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.1328, allocations: 47.77 kB / 355.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.133, allocations: 157 kB / 356.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003747/0.1334, allocations: 295.1 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1334, allocations: 0 / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1334, allocations: 4 kB / 356.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1335, allocations: 0 / 356.3 MB, free: 14.94 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.001093/0.1346, allocations: 0.5381 MB / 356.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1346, allocations: 15.97 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.229e-05/0.1347, allocations: 62.72 kB / 357 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.1348, allocations: 32.56 kB / 357 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1352, allocations: 255.9 kB / 357.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1352, allocations: 16.94 kB / 357.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.1352, allocations: 24.38 kB / 357.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.1358, allocations: 287.8 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1359, allocations: 3.984 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.1359, allocations: 12 kB / 357.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1359, allocations: 4 kB / 357.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.1364, allocations: 214.1 kB / 357.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.1381, allocations: 1.027 MB / 358.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.1386, allocations: 186.6 kB / 359 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/0.139, allocations: 160.8 kB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.1391, allocations: 7.938 kB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1391, allocations: 42.48 kB / 359.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.1391, allocations: 0 / 359.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.00191/0.141, allocations: 0.5957 MB / 359.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.1411, allocations: 59.41 kB / 359.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1413, allocations: 228.9 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1414, allocations: 33.64 kB / 360.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.1415, allocations: 171.8 kB / 360.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.1416, allocations: 67.19 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.1417, allocations: 21.72 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1418, allocations: 334.8 kB / 360.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.1421, allocations: 75.95 kB / 360.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1423, allocations: 134.8 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.1428, allocations: 205.9 kB / 361.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.1428, allocations: 7.938 kB / 361.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009204/0.1437, allocations: 366 kB / 361.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.1437, allocations: 8 kB / 361.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1438, allocations: 0 / 361.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.1442, allocations: 92.8 kB / 361.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1444, allocations: 43.98 kB / 361.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.1472, allocations: 1.857 MB / 363.5 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.1474, allocations: 39.73 kB / 363.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1474, allocations: 15.94 kB / 363.5 MB, free: 7.285 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.0001432/0.1476, allocations: 129.8 kB / 363.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.1476, allocations: 23.72 kB / 363.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.1477, allocations: 26.17 kB / 363.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.1477, allocations: 8.031 kB / 363.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1477, allocations: 0 / 363.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1477, allocations: 0 / 363.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.149, allocations: 0.6785 MB / 364.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.149, allocations: 0 / 364.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1492, allocations: 32.11 kB / 364.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.1495, allocations: 84.73 kB / 364.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.1495, allocations: 4 kB / 364.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.1519, allocations: 1.756 MB / 366.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1519, allocations: 0 / 366.3 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.1529, allocations: 472 kB / 366.7 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.725e-05/0.153, allocations: 108.7 kB / 366.8 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1531, allocations: 4 kB / 366.8 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.1533, allocations: 24.05 kB / 366.9 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1533, allocations: 15.98 kB / 366.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1533, allocations: 0 / 366.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.1536, allocations: 176.4 kB / 367 MB, free: 3.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1536, allocations: 3.938 kB / 367 MB, free: 3.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004289/0.154, allocations: 71.84 kB / 367.1 MB, free: 3.457 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.001471/0.1555, allocations: 1.019 MB / 368.1 MB, free: 2.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009897/0.1565, allocations: 380 kB / 368.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1565, allocations: 3.938 kB / 368.5 MB, free: 2.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.1569, allocations: 210.6 kB / 368.7 MB, free: 1.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.1574, allocations: 40.84 kB / 368.8 MB, free: 1.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2048/0.3622, allocations: 3.287 MB / 372 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.3625, allocations: 0.7476 MB / 372.8 MB, free: 22.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001287/0.3626, allocations: 22.73 kB / 372.8 MB, free: 22.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3627, allocations: 74.14 kB / 372.9 MB, free: 22.4 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3627, allocations: 0 / 372.9 MB, free: 22.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.3816, allocations: 4.912 MB / 377.8 MB, free: 22.17 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.3818, allocations: 250 kB / 378 MB, free: 21.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.456, allocations: 0 / 378 MB, free: 21.91 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