Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009261/0.0009262, allocations: 196.3 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 226.5 MB / 244.7 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007618/0.0007618, allocations: 104.9 kB / 296.7 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002353, allocations: 8 kB / 356.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1934, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002039/0.1955, allocations: 2.294 MB / 410.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008042/0.1963, allocations: 0.6632 MB / 411.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1964, allocations: 5.031 kB / 411.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.978e-05/0.1965, allocations: 43.69 kB / 411.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1966, allocations: 70.14 kB / 411.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.1968, allocations: 67.86 kB / 411.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.197, allocations: 314.5 kB / 411.6 MB, free: 24.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.1972, allocations: 90.8 kB / 411.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.1974, allocations: 107.6 kB / 411.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1975, allocations: 123.5 kB / 411.9 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.1975, allocations: 16 kB / 411.9 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.309e-05/0.1976, allocations: 12 kB / 411.9 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.1976, allocations: 48.91 kB / 412 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.1977, allocations: 149 kB / 412.1 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.1979, allocations: 236.5 kB / 412.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1979, allocations: 4 kB / 412.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1979, allocations: 0 / 412.4 MB, free: 23.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1979, allocations: 0 / 412.4 MB, free: 23.47 MB / 298.7 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.0006953/0.1986, allocations: 0.5497 MB / 412.9 MB, free: 22.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1986, allocations: 8.031 kB / 412.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.1987, allocations: 58.73 kB / 413 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.1987, allocations: 28.66 kB / 413 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1989, allocations: 267.7 kB / 413.3 MB, free: 22.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.199, allocations: 24.88 kB / 413.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.199, allocations: 20.38 kB / 413.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.1994, allocations: 279.8 kB / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1994, allocations: 0 / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.1995, allocations: 12 kB / 413.6 MB, free: 22.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1995, allocations: 4 kB / 413.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000377/0.1999, allocations: 214.1 kB / 413.8 MB, free: 21.92 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2011, allocations: 1.011 MB / 414.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.2015, allocations: 202.4 kB / 415 MB, free: 20.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.2019, allocations: 172.5 kB / 415.2 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2019, allocations: 3.906 kB / 415.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.2019, allocations: 38.56 kB / 415.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.2019, allocations: 0 / 415.2 MB, free: 20.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001977/0.2039, allocations: 0.5953 MB / 415.8 MB, free: 19.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.2039, allocations: 59.41 kB / 415.9 MB, free: 19.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.2041, allocations: 225 kB / 416.1 MB, free: 19.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2042, allocations: 33.7 kB / 416.1 MB, free: 19.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.2042, allocations: 171.8 kB / 416.3 MB, free: 19.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.2043, allocations: 67.11 kB / 416.4 MB, free: 19.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.2043, allocations: 4 kB / 416.4 MB, free: 19.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.2043, allocations: 330.8 kB / 416.7 MB, free: 18.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.2045, allocations: 71.97 kB / 416.8 MB, free: 18.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.2047, allocations: 134.8 kB / 416.9 MB, free: 18.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.205, allocations: 201.7 kB / 417.1 MB, free: 18.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.205, allocations: 3.938 kB / 417.1 MB, free: 18.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007224/0.2057, allocations: 370 kB / 417.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2058, allocations: 7.938 kB / 417.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2058, allocations: 0 / 417.5 MB, free: 18.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.2061, allocations: 88.86 kB / 417.5 MB, free: 17.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.2063, allocations: 55.91 kB / 417.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.2084, allocations: 1.846 MB / 419.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.2085, allocations: 39.73 kB / 419.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.2086, allocations: 8 kB / 419.5 MB, free: 15.86 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 8.648e-05/0.2087, allocations: 148.9 kB / 419.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.2087, allocations: 23.72 kB / 419.7 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.2087, allocations: 26.17 kB / 419.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2088, allocations: 0 / 419.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.2088, allocations: 0 / 419.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2088, allocations: 0 / 419.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008936/0.2097, allocations: 0.6669 MB / 420.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2097, allocations: 0 / 420.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.2098, allocations: 31.97 kB / 420.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.2101, allocations: 92.81 kB / 420.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2101, allocations: 3.984 kB / 420.5 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.2118, allocations: 1.768 MB / 422.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2118, allocations: 0 / 422.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000781/0.2126, allocations: 474.6 kB / 422.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2126, allocations: 96.8 kB / 422.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.2126, allocations: 11.98 kB / 422.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.2128, allocations: 28.05 kB / 422.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.839e-05/0.2129, allocations: 7.984 kB / 422.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2129, allocations: 4 kB / 422.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.913e-05/0.213, allocations: 168.5 kB / 423 MB, free: 12.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.213, allocations: 0 / 423 MB, free: 12.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.2133, allocations: 75.84 kB / 423.1 MB, free: 12.03 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009232/0.2143, allocations: 1 MB / 424.1 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007309/0.215, allocations: 382.7 kB / 424.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.215, allocations: 4.062 kB / 424.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.2153, allocations: 210.5 kB / 424.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2156, allocations: 43.02 kB / 424.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.2189, allocations: 1.996 MB / 426.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.2191, allocations: 0.7518 MB / 427.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.2192, allocations: 79.41 kB / 427.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2192, allocations: 0 / 427.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.007/3.226, allocations: 4.411 MB / 432 MB, free: 2.988 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator_fmu --startTime=0 --stopTime=0.01 --timeout=50 --tolerance=0.0001 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_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.simplifiedExpr,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