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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.001969, allocations: 209 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2545, allocations: 50.55 MB / 410 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004295/0.2588, allocations: 2.717 MB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.2607, allocations: 0.7011 MB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003812/0.2611, allocations: 4 kB / 413.4 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.2614, allocations: 47.56 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.2618, allocations: 91.19 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.2623, allocations: 87.88 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.2629, allocations: 338.5 kB / 413.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.2634, allocations: 113.6 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.264, allocations: 131.6 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.2643, allocations: 147.3 kB / 414.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.013e-05/0.2644, allocations: 28 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.2645, allocations: 28 kB / 414.4 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.2646, allocations: 59.77 kB / 414.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.2649, allocations: 143.3 kB / 414.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005819/0.2655, allocations: 320 kB / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2655, allocations: 0 / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2655, allocations: 0 / 414.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.2655, allocations: 0 / 414.9 MB, free: 12.52 MB / 334.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.00168/0.2672, allocations: 0.5887 MB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.2672, allocations: 12.03 kB / 415.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2674, allocations: 24.66 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.268, allocations: 271.8 kB / 415.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.2681, allocations: 16.88 kB / 415.8 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.2682, allocations: 28.31 kB / 415.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.2689, allocations: 292 kB / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2689, allocations: 0 / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.269, allocations: 12 kB / 416.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.269, allocations: 4 kB / 416.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.2695, allocations: 206.1 kB / 416.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.2716, allocations: 1.011 MB / 417.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.2722, allocations: 190.4 kB / 417.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.2727, allocations: 152.8 kB / 417.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.2727, allocations: 8 kB / 417.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2728, allocations: 30.56 kB / 417.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.2728, allocations: 0 / 417.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.002166/0.2749, allocations: 0.5539 MB / 418.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.275, allocations: 55.41 kB / 418.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.2754, allocations: 232.9 kB / 418.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2755, allocations: 33.7 kB / 418.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.2757, allocations: 171.9 kB / 418.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-05/0.2757, allocations: 67.09 kB / 418.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.2758, allocations: 49.61 kB / 418.9 MB, free: 8.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2759, allocations: 330.8 kB / 419.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.2761, allocations: 67.97 kB / 419.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.2764, allocations: 138.8 kB / 419.4 MB, free: 7.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.2768, allocations: 198 kB / 419.6 MB, free: 7.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2768, allocations: 0 / 419.6 MB, free: 7.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009564/0.2777, allocations: 354 kB / 419.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.2778, allocations: 7.984 kB / 419.9 MB, free: 7.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2778, allocations: 4 kB / 419.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003877/0.2782, allocations: 76.88 kB / 420 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.2784, allocations: 51.91 kB / 420.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/0.2817, allocations: 2.009 MB / 422.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.2819, allocations: 23.75 kB / 422.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.2819, allocations: 8 kB / 422.1 MB, free: 4.832 MB / 334.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.000183/0.2821, allocations: 149.6 kB / 422.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.2822, allocations: 23.84 kB / 422.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.2823, allocations: 26.25 kB / 422.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2823, allocations: 0 / 422.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2823, allocations: 0 / 422.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2823, allocations: 7.984 kB / 422.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.2835, allocations: 0.6581 MB / 423 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2835, allocations: 3.938 kB / 423 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.2837, allocations: 27.98 kB / 423 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002797/0.284, allocations: 80.8 kB / 423.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.284, allocations: 4 kB / 423.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002697/0.2867, allocations: 1.923 MB / 425 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2868, allocations: 0 / 425 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.2878, allocations: 455.8 kB / 425.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.2879, allocations: 92.94 kB / 425.5 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.2879, allocations: 8 kB / 425.5 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.2882, allocations: 27.98 kB / 425.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.2882, allocations: 7.984 kB / 425.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2882, allocations: 4 kB / 425.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.2884, allocations: 176.4 kB / 425.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2884, allocations: 0 / 425.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004371/0.2889, allocations: 71.84 kB / 425.8 MB, free: 0.8633 MB / 334.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.0001502/0.289, allocations: 103.2 kB / 425.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009226/0.29, allocations: 373.8 kB / 426.3 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.29, allocations: 0 / 426.3 MB, free: 384 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.2904, allocations: 210.8 kB / 426.5 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.2908, allocations: 45.67 kB / 426.5 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.2935, allocations: 0.9066 MB / 427.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.2938, allocations: 0.7518 MB / 428.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.2938, allocations: 19.44 kB / 428.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2939, allocations: 0 / 428.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Templates: time 0.005584/0.2994, allocations: 3.766 MB / 432 MB, free: 10.61 MB / 350.1 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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches