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.00105/0.00105, allocations: 182.3 kB / 18.04 MB, free: 3.781 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.619/1.619, allocations: 205.4 MB / 224.2 MB, free: 9.035 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.0009317/0.0009317, allocations: 100.4 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004965, allocations: 11.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2581, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08678/0.3449, allocations: 77.9 MB / 454.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.3452, allocations: 83.95 kB / 455 MB, free: 2.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01198/0.3572, allocations: 4.415 MB / 459.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.127e-06/0.3573, allocations: 3.984 kB / 459.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.3573, allocations: 8 kB / 459.5 MB, free: 14.15 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.0007939/0.3581, allocations: 0.5267 MB / 460 MB, free: 13.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3581, allocations: 8.031 kB / 460 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.3582, allocations: 36.55 kB / 460 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.3586, allocations: 265.3 kB / 460.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3586, allocations: 20.92 kB / 460.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.3586, allocations: 24.38 kB / 460.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.3591, allocations: 253.4 kB / 460.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3591, allocations: 192 / 460.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.3591, allocations: 11.94 kB / 460.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3592, allocations: 8 kB / 460.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.3596, allocations: 222.1 kB / 460.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3612, allocations: 0.9407 MB / 461.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.3617, allocations: 202.4 kB / 461.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.362, allocations: 164.8 kB / 462.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3621, allocations: 3.984 kB / 462.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.3621, allocations: 34.56 kB / 462.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.3621, allocations: 4 kB / 462.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001575/0.3637, allocations: 0.6124 MB / 462.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3637, allocations: 55.41 kB / 462.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.364, allocations: 224.2 kB / 463 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.364, allocations: 29.7 kB / 463.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.3641, allocations: 167.9 kB / 463.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3642, allocations: 70.95 kB / 463.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.3642, allocations: 8 kB / 463.3 MB, free: 10.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3643, allocations: 334.8 kB / 463.6 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.3645, allocations: 60.47 kB / 463.7 MB, free: 9.648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.3647, allocations: 129.9 kB / 463.8 MB, free: 9.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.365, allocations: 185.9 kB / 464 MB, free: 9.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.365, allocations: 4 kB / 464 MB, free: 9.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007481/0.3658, allocations: 365.8 kB / 464.4 MB, free: 8.926 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.3659, allocations: 142 kB / 464.5 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3659, allocations: 4 kB / 464.5 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003394/0.3663, allocations: 88.78 kB / 464.6 MB, free: 8.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.3664, allocations: 39.98 kB / 464.6 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.3689, allocations: 1.902 MB / 466.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.3691, allocations: 23.78 kB / 466.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.3691, allocations: 11.94 kB / 466.6 MB, free: 6.559 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.3691, allocations: 4 kB / 466.6 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003497/0.3695, allocations: 216.7 kB / 466.8 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3695, allocations: 7.984 kB / 466.8 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/0.3696, allocations: 40.78 kB / 466.8 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.3698, allocations: 47.91 kB / 466.9 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.3711, allocations: 1.601 MB / 468.5 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.3712, allocations: 15.84 kB / 468.5 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3712, allocations: 12.06 kB / 468.5 MB, free: 4.48 MB / 346.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 (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.0001578/0.3714, allocations: 217 kB / 468.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.3714, allocations: 19.72 kB / 468.7 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.3715, allocations: 29.86 kB / 468.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3715, allocations: 0 / 468.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3715, allocations: 0 / 468.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3715, allocations: 0 / 468.8 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/0.3725, allocations: 0.648 MB / 469.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.3725, allocations: 0 / 469.4 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.3726, allocations: 35.92 kB / 469.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.3728, allocations: 80.8 kB / 469.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3729, allocations: 0 / 469.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.3748, allocations: 1.819 MB / 471.3 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3748, allocations: 4.031 kB / 471.3 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.3755, allocations: 445.7 kB / 471.8 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3756, allocations: 96.94 kB / 471.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.3756, allocations: 7.938 kB / 471.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.3758, allocations: 15.98 kB / 471.9 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3759, allocations: 15.98 kB / 471.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3759, allocations: 4 kB / 471.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.376, allocations: 177.6 kB / 472.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.376, allocations: 0 / 472.1 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006946/0.3767, allocations: 135.6 kB / 472.2 MB, free: 0.5117 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 () * Number of clocked 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.0001481/0.3769, allocations: 111.1 kB / 472.3 MB, free: 404 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009536/0.3779, allocations: 0.5674 MB / 472.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3779, allocations: 3.938 kB / 472.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.3782, allocations: 223.2 kB / 473.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3786, allocations: 32.66 kB / 473.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.3805, allocations: 0.9409 MB / 474.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.3808, allocations: 0.7563 MB / 474.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.381, allocations: 17.95 kB / 474.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.618e-05/0.381, allocations: 19.44 kB / 474.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.381, allocations: 0 / 474.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of Templates: time 0.006848/0.3879, allocations: 3.081 MB / 478 MB, free: 10.68 MB / 362.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/jenkins1/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