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.001895/0.001895, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 105.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 43.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3596, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003993/0.3636, allocations: 2.743 MB / 402.2 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3649, allocations: 0.658 MB / 402.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.3652, allocations: 4 kB / 402.9 MB, free: 29.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.3654, allocations: 39.69 kB / 402.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.3656, allocations: 71.45 kB / 403 MB, free: 29.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.3659, allocations: 87.8 kB / 403.1 MB, free: 29.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.3662, allocations: 330.4 kB / 403.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.3665, allocations: 94.27 kB / 403.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.3667, allocations: 119.5 kB / 403.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.3668, allocations: 139.3 kB / 403.7 MB, free: 29.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.3669, allocations: 20 kB / 403.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.367, allocations: 20 kB / 403.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.367, allocations: 51.83 kB / 403.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3671, allocations: 139.2 kB / 404 MB, free: 28.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.3674, allocations: 304.5 kB / 404.3 MB, free: 28.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3674, allocations: 0 / 404.3 MB, free: 28.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3674, allocations: 0 / 404.3 MB, free: 28.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3674, allocations: 7.938 kB / 404.3 MB, free: 28.57 MB / 298.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.001007/0.3684, allocations: 0.5887 MB / 404.9 MB, free: 27.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.3685, allocations: 12.03 kB / 404.9 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.3686, allocations: 32.56 kB / 404.9 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.3689, allocations: 255.8 kB / 405.2 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.3689, allocations: 20.94 kB / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.369, allocations: 24.38 kB / 405.2 MB, free: 27.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.3695, allocations: 276 kB / 405.5 MB, free: 27.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3695, allocations: 4 kB / 405.5 MB, free: 27.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.3696, allocations: 8 kB / 405.5 MB, free: 27.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3696, allocations: 8 kB / 405.5 MB, free: 27.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.37, allocations: 206.1 kB / 405.7 MB, free: 27.06 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3715, allocations: 1.011 MB / 406.7 MB, free: 25.97 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.372, allocations: 198.4 kB / 406.9 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.3723, allocations: 152.8 kB / 407 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3724, allocations: 0 / 407 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3724, allocations: 38.56 kB / 407.1 MB, free: 25.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.3724, allocations: 0 / 407.1 MB, free: 25.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.00171/0.3741, allocations: 0.5615 MB / 407.6 MB, free: 24.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3742, allocations: 55.39 kB / 407.7 MB, free: 24.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.3744, allocations: 232.9 kB / 407.9 MB, free: 24.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.3745, allocations: 33.7 kB / 408 MB, free: 24.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3746, allocations: 175.8 kB / 408.1 MB, free: 24.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.3746, allocations: 63.17 kB / 408.2 MB, free: 24.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.3747, allocations: 49.61 kB / 408.2 MB, free: 24.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3749, allocations: 330.8 kB / 408.6 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.375, allocations: 71.89 kB / 408.6 MB, free: 23.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.3753, allocations: 134.8 kB / 408.8 MB, free: 23.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.3756, allocations: 202.7 kB / 409 MB, free: 23.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3756, allocations: 0 / 409 MB, free: 23.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007755/0.3764, allocations: 363.8 kB / 409.3 MB, free: 23.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3765, allocations: 4 kB / 409.3 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3765, allocations: 4 kB / 409.3 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/0.3769, allocations: 80.86 kB / 409.4 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.3771, allocations: 47.92 kB / 409.5 MB, free: 23.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/0.3795, allocations: 1.814 MB / 411.3 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.3797, allocations: 31.73 kB / 411.3 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.3797, allocations: 12 kB / 411.3 MB, free: 21.07 MB / 298.7 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.0001472/0.3799, allocations: 137.7 kB / 411.4 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.3799, allocations: 19.75 kB / 411.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.38, allocations: 30.17 kB / 411.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.38, allocations: 4.062 kB / 411.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.38, allocations: 0 / 411.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.38, allocations: 0 / 411.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3811, allocations: 0.6629 MB / 412.2 MB, free: 20.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3811, allocations: 0 / 412.2 MB, free: 20.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.3813, allocations: 27.98 kB / 412.2 MB, free: 20.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/0.3815, allocations: 80.73 kB / 412.3 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3816, allocations: 8.125 kB / 412.3 MB, free: 20.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.3834, allocations: 1.726 MB / 414 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3835, allocations: 3.938 kB / 414 MB, free: 18.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.389, allocations: 3.887 MB / 417.9 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.3892, allocations: 104.8 kB / 418 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.3892, allocations: 0 / 418 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.3894, allocations: 23.97 kB / 418 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.3895, allocations: 15.92 kB / 418 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3895, allocations: 8.125 kB / 418 MB, free: 13.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001616/0.3897, allocations: 164.5 kB / 418.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3897, allocations: 0 / 418.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006233/0.3903, allocations: 107.8 kB / 418.3 MB, free: 13.57 MB / 298.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 (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.0001802/0.3905, allocations: 108 kB / 418.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.3914, allocations: 366.5 kB / 418.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3914, allocations: 4 kB / 418.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.3917, allocations: 206.6 kB / 419 MB, free: 12.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.3922, allocations: 32.66 kB / 419 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.3948, allocations: 1.254 MB / 420.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.395, allocations: 0.756 MB / 421 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.3951, allocations: 25.94 kB / 421 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.3951, allocations: 19.44 kB / 421.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3951, allocations: 0 / 421.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Templates: time 0.006438/0.4016, allocations: 3.37 MB / 424.4 MB, free: 7.359 MB / 298.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@2/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