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/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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000973/0.000973, allocations: 113.5 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009075/0.0009075, allocations: 55.91 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1996, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002978/0.2026, allocations: 2.755 MB / 409.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008844/0.2035, allocations: 0.7035 MB / 410.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2037, allocations: 4 kB / 410.5 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.2038, allocations: 39.69 kB / 410.6 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.204, allocations: 67.45 kB / 410.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.2041, allocations: 82.64 kB / 410.7 MB, free: 24.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.2044, allocations: 322.6 kB / 411 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.2046, allocations: 102.2 kB / 411.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.2048, allocations: 119.6 kB / 411.2 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.2049, allocations: 139.3 kB / 411.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.386e-05/0.2049, allocations: 16 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.034e-05/0.205, allocations: 20 kB / 411.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.205, allocations: 55.75 kB / 411.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.182e-05/0.2051, allocations: 135.3 kB / 411.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.2053, allocations: 312.4 kB / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2053, allocations: 0 / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2054, allocations: 0 / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2054, allocations: 0 / 411.9 MB, free: 22.95 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.0008598/0.2062, allocations: 0.5887 MB / 412.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2063, allocations: 8.875 kB / 412.5 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.802e-05/0.2063, allocations: 32.56 kB / 412.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2066, allocations: 259.8 kB / 412.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.2066, allocations: 16.94 kB / 412.8 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.2066, allocations: 28.28 kB / 412.8 MB, free: 21.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.2071, allocations: 280 kB / 413.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2071, allocations: 0 / 413.1 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.2071, allocations: 12 kB / 413.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2071, allocations: 4 kB / 413.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003905/0.2075, allocations: 210.1 kB / 413.3 MB, free: 21.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2088, allocations: 1.003 MB / 414.3 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000411/0.2092, allocations: 194.4 kB / 414.5 MB, free: 20.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.2095, allocations: 164.7 kB / 414.7 MB, free: 19.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2096, allocations: 7.984 kB / 414.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.2096, allocations: 30.56 kB / 414.7 MB, free: 19.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.273e-06/0.2096, allocations: 0 / 414.7 MB, free: 19.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.001527/0.2111, allocations: 0.5606 MB / 415.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.2112, allocations: 55.41 kB / 415.3 MB, free: 19.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2113, allocations: 228.9 kB / 415.6 MB, free: 19.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2113, allocations: 37.7 kB / 415.6 MB, free: 19.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.2114, allocations: 175.8 kB / 415.8 MB, free: 18.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.2115, allocations: 67.11 kB / 415.8 MB, free: 18.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.2115, allocations: 45.62 kB / 415.9 MB, free: 18.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.2116, allocations: 330.8 kB / 416.2 MB, free: 18.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.2117, allocations: 75.89 kB / 416.3 MB, free: 18.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.2119, allocations: 134.8 kB / 416.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.2122, allocations: 202.3 kB / 416.6 MB, free: 17.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2122, allocations: 0 / 416.6 MB, free: 17.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007168/0.213, allocations: 362 kB / 417 MB, free: 17.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.213, allocations: 4 kB / 417 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.213, allocations: 4 kB / 417 MB, free: 17.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.2133, allocations: 76.86 kB / 417 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.2136, allocations: 51.92 kB / 417.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.2159, allocations: 1.811 MB / 418.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.216, allocations: 23.73 kB / 418.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.2161, allocations: 12 kB / 418.9 MB, free: 15.45 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 (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 9.638e-05/0.2162, allocations: 143.2 kB / 419.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.2162, allocations: 23.75 kB / 419.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.2163, allocations: 26.17 kB / 419.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2163, allocations: 4.062 kB / 419.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2163, allocations: 128 / 419.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2163, allocations: 8 kB / 419.1 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009471/0.2172, allocations: 0.655 MB / 419.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2173, allocations: 0 / 419.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.2174, allocations: 27.98 kB / 419.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002707/0.2177, allocations: 88.67 kB / 419.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.2177, allocations: 3.938 kB / 419.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.2194, allocations: 1.729 MB / 421.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2195, allocations: 0 / 421.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004954/0.2244, allocations: 3.904 MB / 425.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.2245, allocations: 88.95 kB / 425.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.2245, allocations: 8 kB / 425.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2247, allocations: 19.97 kB / 425.7 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.2247, allocations: 15.92 kB / 425.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2248, allocations: 4 kB / 425.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.2249, allocations: 176.5 kB / 425.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2249, allocations: 0 / 425.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005003/0.2254, allocations: 103.8 kB / 425.9 MB, free: 7.934 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 (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.0001303/0.2255, allocations: 99.23 kB / 426 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007861/0.2263, allocations: 373.3 kB / 426.4 MB, free: 7.449 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2263, allocations: 4 kB / 426.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.2266, allocations: 206.5 kB / 426.6 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.227, allocations: 44.64 kB / 426.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.2293, allocations: 1.254 MB / 427.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.2294, allocations: 0.756 MB / 428.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.2296, allocations: 25.88 kB / 428.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.2296, allocations: 19.44 kB / 428.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2296, allocations: 0 / 428.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of Templates: time 0.00542/0.2351, allocations: 3.364 MB / 432.1 MB, free: 1.719 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches