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.001153/0.001153, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007768/0.0007768, allocations: 83.97 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.821e-05/1.824e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09473, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.4261, allocations: 77.33 MB / 440.4 MB, free: 2.363 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.4265, allocations: 82.2 kB / 440.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.4383, allocations: 4.362 MB / 444.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4383, allocations: 0 / 444.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.4384, allocations: 4 kB / 444.9 MB, free: 14.64 MB / 330.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.000735/0.4391, allocations: 0.5078 MB / 445.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4392, allocations: 8.031 kB / 445.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.4392, allocations: 29.91 kB / 445.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.4396, allocations: 270 kB / 445.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.4397, allocations: 8 kB / 445.7 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.4397, allocations: 15.94 kB / 445.7 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000303/0.44, allocations: 162.7 kB / 445.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.4404, allocations: 185.1 kB / 446 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4404, allocations: 0 / 446 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.4404, allocations: 3 kB / 446 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.4404, allocations: 8 kB / 446.1 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.4419, allocations: 0.8873 MB / 446.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.4422, allocations: 161.5 kB / 447.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/0.4425, allocations: 138.2 kB / 447.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4426, allocations: 3.938 kB / 447.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.4426, allocations: 37.88 kB / 447.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.4426, allocations: 4 kB / 447.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005242/0.4431, allocations: 213.4 kB / 447.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.4432, allocations: 59.41 kB / 447.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.4434, allocations: 176.5 kB / 447.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4434, allocations: 29.64 kB / 447.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4435, allocations: 171.7 kB / 447.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.4436, allocations: 72.25 kB / 448 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.4436, allocations: 0 / 448 MB, free: 11.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4437, allocations: 336.1 kB / 448.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.4438, allocations: 42.19 kB / 448.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.4439, allocations: 103.7 kB / 448.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.802e-05/0.444, allocations: 61.5 kB / 448.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.444, allocations: 0 / 448.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004901/0.4445, allocations: 283.7 kB / 448.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.4448, allocations: 0.6103 MB / 449.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4448, allocations: 0 / 449.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.4451, allocations: 67.56 kB / 449.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.4452, allocations: 43.91 kB / 449.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004436/0.4457, allocations: 0.5907 MB / 450.1 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.4459, allocations: 27.8 kB / 450.1 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.4459, allocations: 7.75 kB / 450.1 MB, free: 9.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.453e-06/0.4459, allocations: 4 kB / 450.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003034/0.4462, allocations: 182.6 kB / 450.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4462, allocations: 3.984 kB / 450.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/0.4463, allocations: 48.08 kB / 450.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.4465, allocations: 51.72 kB / 450.4 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.4479, allocations: 1.537 MB / 452 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.448, allocations: 11.84 kB / 452 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.448, allocations: 10.38 kB / 452 MB, free: 7.934 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.simplifiedExpr:VARIABLE(unit = "V" protected = true ) "Simplified expression for homotopy-based initialization" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.4482, allocations: 112.8 kB / 452.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.4482, allocations: 19.81 kB / 452.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.4483, allocations: 23.95 kB / 452.1 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4483, allocations: 4.062 kB / 452.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.4483, allocations: 4 kB / 452.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4483, allocations: 0 / 452.1 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.4491, allocations: 0.554 MB / 452.7 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4491, allocations: 0 / 452.7 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.4492, allocations: 31.92 kB / 452.7 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.4494, allocations: 50.39 kB / 452.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.4494, allocations: 0 / 452.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.4509, allocations: 1.629 MB / 454.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4509, allocations: 4.062 kB / 454.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.4514, allocations: 379 kB / 454.8 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.4515, allocations: 92.58 kB / 454.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.4515, allocations: 7.984 kB / 454.9 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.4517, allocations: 19.98 kB / 454.9 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.4518, allocations: 7.984 kB / 454.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4518, allocations: 7.625 kB / 454.9 MB, free: 5.109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.4519, allocations: 138.6 kB / 455 MB, free: 4.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4519, allocations: 0 / 455 MB, free: 4.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005575/0.4525, allocations: 127.5 kB / 455.2 MB, free: 4.871 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.4526, allocations: 103.2 kB / 455.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.4532, allocations: 362 kB / 455.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4532, allocations: 128 / 455.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.4535, allocations: 192.2 kB / 455.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4538, allocations: 26.94 kB / 455.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4554, allocations: 0.6326 MB / 456.5 MB, free: 3.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4558, allocations: 0.7599 MB / 457.2 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.4559, allocations: 26.06 kB / 457.3 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.456, allocations: 19.44 kB / 457.3 MB, free: 2.809 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.456, allocations: 0 / 457.3 MB, free: 2.809 MB / 330.7 MB Notification: Performance of Templates: time 0.005884/0.4618, allocations: 2.774 MB / 460 MB, free: 44 kB / 330.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/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