Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 59.91 kB / 359.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2593, allocations: 50.55 MB / 410.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004213/0.2635, allocations: 2.713 MB / 413 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.2649, allocations: 0.7089 MB / 413.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.265, allocations: 4 kB / 413.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.2652, allocations: 51.5 kB / 413.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.2655, allocations: 83.25 kB / 413.8 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.2658, allocations: 91.81 kB / 413.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.2662, allocations: 334.6 kB / 414.2 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.2664, allocations: 89.58 kB / 414.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.2667, allocations: 135.6 kB / 414.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.2669, allocations: 147.3 kB / 414.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.267, allocations: 24 kB / 414.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.851e-05/0.267, allocations: 28 kB / 414.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.2671, allocations: 59.77 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.2673, allocations: 143.3 kB / 414.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.2677, allocations: 318.5 kB / 415.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2677, allocations: 0 / 415.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2677, allocations: 0 / 415.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.2677, allocations: 4 kB / 415.2 MB, free: 12.5 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.001145/0.2688, allocations: 0.604 MB / 415.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.2689, allocations: 8.031 kB / 415.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.269, allocations: 32.75 kB / 415.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004833/0.2694, allocations: 263.8 kB / 416.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.2695, allocations: 20.94 kB / 416.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.2695, allocations: 24.38 kB / 416.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.2701, allocations: 280 kB / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2701, allocations: 0 / 416.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2701, allocations: 12 kB / 416.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2701, allocations: 8 kB / 416.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.2706, allocations: 206.1 kB / 416.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.2723, allocations: 1.008 MB / 417.6 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.2729, allocations: 186.4 kB / 417.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.2733, allocations: 140.8 kB / 417.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2733, allocations: 0 / 417.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2734, allocations: 38.88 kB / 418 MB, free: 9.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.2734, allocations: 7.938 kB / 418 MB, free: 9.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001849/0.2752, allocations: 0.5537 MB / 418.5 MB, free: 8.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.2752, allocations: 55.41 kB / 418.6 MB, free: 8.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.2755, allocations: 229 kB / 418.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2755, allocations: 29.7 kB / 418.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2757, allocations: 180.1 kB / 419 MB, free: 8.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.009e-05/0.2757, allocations: 67.45 kB / 419.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.538e-05/0.2758, allocations: 45.67 kB / 419.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.276, allocations: 334.8 kB / 419.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2762, allocations: 71.95 kB / 419.5 MB, free: 7.867 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.2764, allocations: 134.8 kB / 419.6 MB, free: 7.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.2768, allocations: 204 kB / 419.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2768, allocations: 7.938 kB / 419.9 MB, free: 7.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000906/0.2777, allocations: 353.3 kB / 420.2 MB, free: 7.129 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2777, allocations: 11.34 kB / 420.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2777, allocations: 4 kB / 420.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003705/0.2781, allocations: 72.8 kB / 420.3 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.2783, allocations: 51.92 kB / 420.3 MB, free: 6.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.2819, allocations: 2.005 MB / 422.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.2823, allocations: 31.81 kB / 422.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.2823, allocations: 8 kB / 422.4 MB, free: 4.809 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.0002287/0.2825, allocations: 145.7 kB / 422.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.2826, allocations: 23.86 kB / 422.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.2827, allocations: 22.19 kB / 422.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2827, allocations: 0 / 422.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2827, allocations: 4.062 kB / 422.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2827, allocations: 3.984 kB / 422.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.2839, allocations: 0.6551 MB / 423.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.284, allocations: 0 / 423.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.2841, allocations: 27.98 kB / 423.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002958/0.2844, allocations: 84.72 kB / 423.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.2844, allocations: 7.984 kB / 423.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.2871, allocations: 1.917 MB / 425.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2871, allocations: 0 / 425.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2881, allocations: 456 kB / 425.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.557e-05/0.2882, allocations: 108.9 kB / 425.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.2882, allocations: 0 / 425.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.2884, allocations: 19.98 kB / 425.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.2885, allocations: 16.05 kB / 425.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2885, allocations: 8 kB / 425.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.2886, allocations: 168.4 kB / 426 MB, free: 0.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2886, allocations: 0 / 426 MB, free: 0.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000447/0.2891, allocations: 83.78 kB / 426.1 MB, free: 0.8359 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.0001693/0.2893, allocations: 99.25 kB / 426.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009674/0.2902, allocations: 362.4 kB / 426.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2902, allocations: 0 / 426.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.2906, allocations: 213.5 kB / 426.8 MB, free: 144 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.291, allocations: 47.89 kB / 426.8 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.2935, allocations: 0.8807 MB / 427.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.2939, allocations: 0.7518 MB / 428.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.124e-05/0.294, allocations: 17.95 kB / 428.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.294, allocations: 19.44 kB / 428.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.294, allocations: 0 / 428.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of Templates: time 0.006907/0.3009, allocations: 2.952 MB / 431.4 MB, free: 11.44 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches