Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.1 MB / 223.7 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009262/0.0009262, allocations: 98.31 kB / 271.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009186/0.0009187, allocations: 47.94 kB / 327.2 MB, free: 300 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2098, allocations: 46.61 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003192/0.213, allocations: 2.733 MB / 376.6 MB, free: 43.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.214, allocations: 0.7018 MB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.2141, allocations: 7.812 kB / 377.3 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.2143, allocations: 36.31 kB / 377.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.2144, allocations: 76.83 kB / 377.4 MB, free: 42.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.2146, allocations: 82.91 kB / 377.5 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.2149, allocations: 325.8 kB / 377.8 MB, free: 42.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.2151, allocations: 93.27 kB / 377.9 MB, free: 42.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.2153, allocations: 119.9 kB / 378 MB, free: 42.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.2154, allocations: 138.8 kB / 378.1 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.2155, allocations: 19.91 kB / 378.1 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.628e-05/0.2155, allocations: 19.47 kB / 378.2 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.2156, allocations: 58.84 kB / 378.2 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2157, allocations: 136.5 kB / 378.4 MB, free: 42.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.2159, allocations: 302.6 kB / 378.7 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.216, allocations: 4 kB / 378.7 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.216, allocations: 1.531 kB / 378.7 MB, free: 42.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.216, allocations: 0 / 378.7 MB, free: 42.14 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.0008341/0.2168, allocations: 0.5928 MB / 379.2 MB, free: 41.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2168, allocations: 8.562 kB / 379.3 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.2169, allocations: 28.53 kB / 379.3 MB, free: 41.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.2171, allocations: 259.5 kB / 379.5 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2172, allocations: 22.27 kB / 379.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.2172, allocations: 24.56 kB / 379.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.2176, allocations: 245.8 kB / 379.8 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2176, allocations: 1.125 kB / 379.8 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.2177, allocations: 10.22 kB / 379.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2177, allocations: 10.47 kB / 379.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.2181, allocations: 214.5 kB / 380.1 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2194, allocations: 0.9198 MB / 381 MB, free: 40.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.2199, allocations: 199.2 kB / 381.2 MB, free: 40.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.2202, allocations: 153.7 kB / 381.3 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2202, allocations: 2.5 kB / 381.3 MB, free: 40.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.2203, allocations: 41.02 kB / 381.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.2203, allocations: 0 / 381.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001403/0.2217, allocations: 0.5328 MB / 381.9 MB, free: 39.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.2217, allocations: 54.28 kB / 381.9 MB, free: 39.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.2219, allocations: 228.5 kB / 382.2 MB, free: 39.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2219, allocations: 26.95 kB / 382.2 MB, free: 39.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.222, allocations: 178.4 kB / 382.4 MB, free: 39.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.222, allocations: 62.25 kB / 382.4 MB, free: 39.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.2221, allocations: 45.95 kB / 382.5 MB, free: 39.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.2222, allocations: 340.7 kB / 382.8 MB, free: 38.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.2223, allocations: 67.05 kB / 382.9 MB, free: 38.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2225, allocations: 116 kB / 383 MB, free: 38.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.2227, allocations: 185.2 kB / 383.2 MB, free: 38.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2227, allocations: 0 / 383.2 MB, free: 38.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006347/0.2234, allocations: 338 kB / 383.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2234, allocations: 14.14 kB / 383.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2234, allocations: 2.406 kB / 383.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004278/0.2238, allocations: 106.1 kB / 383.6 MB, free: 38.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.224, allocations: 54.53 kB / 383.7 MB, free: 38.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.2257, allocations: 1.736 MB / 385.4 MB, free: 36.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.2259, allocations: 27.45 kB / 385.4 MB, free: 36.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.2259, allocations: 11.59 kB / 385.4 MB, free: 36.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001359/0.2261, allocations: 151.4 kB / 385.6 MB, free: 36.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001089/0.2262, allocations: 110.5 kB / 385.7 MB, free: 36.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000183/0.2264, allocations: 170.6 kB / 385.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.2264, allocations: 1.094 kB / 385.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003673/0.2268, allocations: 258.8 kB / 386.1 MB, free: 36.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2268, allocations: 6.156 kB / 386.1 MB, free: 36.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-06/0.2268, allocations: 1.188 kB / 386.1 MB, free: 36.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001026/0.2269, allocations: 43.23 kB / 386.2 MB, free: 36.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.2271, allocations: 49.83 kB / 386.2 MB, free: 36.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008171/0.2279, allocations: 1.554 MB / 387.8 MB, free: 34.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.228, allocations: 17.12 kB / 387.8 MB, free: 34.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.2281, allocations: 6.594 kB / 387.8 MB, free: 34.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 23 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.2281, allocations: 197.1 kB / 388 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.2282, allocations: 19.16 kB / 388 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.2282, allocations: 25.7 kB / 388 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2283, allocations: 3.781 kB / 388 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.2283, allocations: 192 / 388 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2283, allocations: 4.062 kB / 388 MB, free: 34.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008444/0.2291, allocations: 0.6255 MB / 388.7 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2291, allocations: 0 / 388.7 MB, free: 33.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.2293, allocations: 37.52 kB / 388.7 MB, free: 33.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001895/0.2295, allocations: 65 kB / 388.8 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.2295, allocations: 7.984 kB / 388.8 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.2308, allocations: 1.686 MB / 390.5 MB, free: 32.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2308, allocations: 0 / 390.5 MB, free: 32.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.2344, allocations: 3.723 MB / 394.2 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.2344, allocations: 96.88 kB / 394.3 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.2345, allocations: 4 kB / 394.3 MB, free: 27.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.2346, allocations: 20.11 kB / 394.3 MB, free: 27.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.2347, allocations: 19.92 kB / 394.3 MB, free: 27.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.2347, allocations: 4.188 kB / 394.3 MB, free: 27.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.2348, allocations: 165.6 kB / 394.5 MB, free: 27.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2348, allocations: 0 / 394.5 MB, free: 27.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007562/0.2356, allocations: 187.6 kB / 394.7 MB, free: 27.52 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001137/0.2357, allocations: 103.2 kB / 394.8 MB, free: 27.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007913/0.2365, allocations: 0.5412 MB / 395.3 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2365, allocations: 128 / 395.3 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.2367, allocations: 215.8 kB / 395.5 MB, free: 26.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.2372, allocations: 40.58 kB / 395.6 MB, free: 26.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.2388, allocations: 1.144 MB / 396.7 MB, free: 25.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.239, allocations: 0.76 MB / 397.5 MB, free: 24.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.2391, allocations: 25.94 kB / 397.5 MB, free: 24.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.2391, allocations: 15.44 kB / 397.5 MB, free: 24.55 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2391, allocations: 4 kB / 397.5 MB, free: 24.55 MB / 298.7 MB Notification: Performance of Templates: time 0.005615/0.2447, allocations: 3.761 MB / 401.3 MB, free: 20.8 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches