Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 175.9 kB / 8.348 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008647/0.000865, allocations: 93.67 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.408e-05/1.411e-05, allocations: 7.984 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.09842, allocations: 50.41 MB / 387.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3043/0.4028, allocations: 78.38 MB / 465.8 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4031, allocations: 75.97 kB / 465.9 MB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.4144, allocations: 4.486 MB / 470.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4144, allocations: 0 / 470.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.4144, allocations: 4 kB / 470.4 MB, free: 11.92 MB / 346.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.0006584/0.4151, allocations: 0.507 MB / 470.9 MB, free: 11.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4151, allocations: 8.031 kB / 470.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.4152, allocations: 39.64 kB / 471 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.4155, allocations: 259.1 kB / 471.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4156, allocations: 11.98 kB / 471.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.4156, allocations: 12 kB / 471.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002645/0.4159, allocations: 157.5 kB / 471.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/0.4163, allocations: 218.5 kB / 471.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4163, allocations: 0 / 471.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.4163, allocations: 0 / 471.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.4163, allocations: 9 kB / 471.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.4178, allocations: 0.9678 MB / 472.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.4181, allocations: 148.4 kB / 472.7 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.4184, allocations: 134.1 kB / 472.9 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.4184, allocations: 4 kB / 472.9 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.4184, allocations: 34.56 kB / 472.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.4184, allocations: 0 / 472.9 MB, free: 9.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006039/0.419, allocations: 222.4 kB / 473.1 MB, free: 9.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.4191, allocations: 59.39 kB / 473.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.4193, allocations: 185.9 kB / 473.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4193, allocations: 25.7 kB / 473.4 MB, free: 8.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.4194, allocations: 179.8 kB / 473.6 MB, free: 8.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.4194, allocations: 59.11 kB / 473.6 MB, free: 8.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.4195, allocations: 4 kB / 473.6 MB, free: 8.496 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.4196, allocations: 334.8 kB / 473.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.4196, allocations: 44 kB / 474 MB, free: 8.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4197, allocations: 107 kB / 474.1 MB, free: 7.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.4199, allocations: 59.55 kB / 474.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4199, allocations: 0 / 474.1 MB, free: 7.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005862/0.4205, allocations: 289 kB / 474.4 MB, free: 7.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4205, allocations: 9.203 kB / 474.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4205, allocations: 1.125 kB / 474.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.4207, allocations: 60.86 kB / 474.5 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4209, allocations: 47.92 kB / 474.5 MB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.4225, allocations: 1.615 MB / 476.2 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.4227, allocations: 23.78 kB / 476.2 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.4227, allocations: 15.94 kB / 476.2 MB, free: 5.75 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * 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 (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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.4228, allocations: 120.9 kB / 476.3 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.4229, allocations: 19.8 kB / 476.3 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.4229, allocations: 17.97 kB / 476.4 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4229, allocations: 4 kB / 476.4 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.423, allocations: 3.938 kB / 476.4 MB, free: 5.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.423, allocations: 3.984 kB / 476.4 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007739/0.4237, allocations: 0.5542 MB / 476.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4238, allocations: 192 / 476.9 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.4239, allocations: 35.98 kB / 477 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.424, allocations: 52.83 kB / 477 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4241, allocations: 3.953 kB / 477 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.4259, allocations: 1.701 MB / 478.7 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4259, allocations: 0 / 478.7 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.4265, allocations: 389.5 kB / 479.1 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.4265, allocations: 100.9 kB / 479.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4266, allocations: 0 / 479.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.4268, allocations: 19.98 kB / 479.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.4268, allocations: 12.12 kB / 479.2 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.4268, allocations: 15.94 kB / 479.2 MB, free: 2.508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.4269, allocations: 149.5 kB / 479.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.427, allocations: 4 kB / 479.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003955/0.4274, allocations: 75.73 kB / 479.5 MB, free: 2.285 MB / 346.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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001519/0.4275, allocations: 95.25 kB / 479.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.4279, allocations: 241.7 kB / 479.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4279, allocations: 448 / 479.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005229/0.4285, allocations: 271 kB / 480.1 MB, free: 1.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.4287, allocations: 26.41 kB / 480.1 MB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.4308, allocations: 0.7325 MB / 480.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.4311, allocations: 0.7639 MB / 481.6 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.4312, allocations: 18.08 kB / 481.6 MB, free: 68 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.4312, allocations: 19.44 kB / 481.6 MB, free: 48 kB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4312, allocations: 0 / 481.6 MB, free: 48 kB / 346.7 MB Notification: Performance of Templates: time 0.005267/0.4365, allocations: 2.358 MB / 484 MB, free: 13.71 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches