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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108 kB / 18.4 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 194.3 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 55.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 46.6 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004132/0.1078, allocations: 2.691 MB / 378.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1093, allocations: 0.7018 MB / 379.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.1095, allocations: 7.938 kB / 379.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.1097, allocations: 55.56 kB / 379.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.11, allocations: 83.25 kB / 379.4 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1103, allocations: 87.83 kB / 379.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.1107, allocations: 346.3 kB / 379.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.111, allocations: 113.7 kB / 379.9 MB, free: 476 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.1112, allocations: 127.5 kB / 380 MB, free: 348 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.1114, allocations: 139.4 kB / 380.2 MB, free: 208 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.1114, allocations: 28 kB / 380.2 MB, free: 180 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.411e-05/0.1115, allocations: 32 kB / 380.2 MB, free: 148 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.1116, allocations: 67.69 kB / 380.3 MB, free: 80 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2546/0.3662, allocations: 138.9 kB / 380.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.3668, allocations: 316.8 kB / 380.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.3668, allocations: 1.375 kB / 380.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3668, allocations: 2.625 kB / 380.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.3668, allocations: 0 / 380.8 MB, free: 10.07 MB / 318.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.001043/0.3679, allocations: 0.5878 MB / 381.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3679, allocations: 13.48 kB / 381.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.368, allocations: 37.11 kB / 381.4 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.3684, allocations: 265.9 kB / 381.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3684, allocations: 18.59 kB / 381.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.3685, allocations: 23.95 kB / 381.7 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.369, allocations: 243.4 kB / 381.9 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.369, allocations: 3.938 kB / 381.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.3691, allocations: 9.25 kB / 381.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3691, allocations: 10.69 kB / 382 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.3695, allocations: 219.7 kB / 382.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.3711, allocations: 0.9085 MB / 383.1 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.3716, allocations: 189.9 kB / 383.3 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.3721, allocations: 154.1 kB / 383.4 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.3721, allocations: 2.188 kB / 383.4 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3721, allocations: 38.73 kB / 383.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.3721, allocations: 0 / 383.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001582/0.3737, allocations: 0.5323 MB / 384 MB, free: 8.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.3738, allocations: 54.33 kB / 384 MB, free: 8.652 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.374, allocations: 231.6 kB / 384.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3741, allocations: 32.14 kB / 384.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3742, allocations: 175 kB / 384.5 MB, free: 8.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.3742, allocations: 67.5 kB / 384.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.3743, allocations: 43.52 kB / 384.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.3744, allocations: 331.8 kB / 384.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3745, allocations: 69.03 kB / 385 MB, free: 8.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3747, allocations: 124 kB / 385.1 MB, free: 7.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.375, allocations: 188.3 kB / 385.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.375, allocations: 4.031 kB / 385.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007755/0.3758, allocations: 338.2 kB / 385.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3758, allocations: 8.25 kB / 385.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3758, allocations: 0 / 385.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.3763, allocations: 108.8 kB / 385.7 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3765, allocations: 51.98 kB / 385.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.3785, allocations: 1.928 MB / 387.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3787, allocations: 22.06 kB / 387.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3787, allocations: 14.05 kB / 387.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001604/0.3789, allocations: 150.7 kB / 387.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001132/0.379, allocations: 106.5 kB / 388 MB, free: 6.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002/0.3792, allocations: 167.2 kB / 388.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.254e-06/0.3792, allocations: 1.719 kB / 388.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.00039/0.3796, allocations: 258.2 kB / 388.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.3797, allocations: 5.594 kB / 388.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3797, allocations: 3.266 kB / 388.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/0.3798, allocations: 49.05 kB / 388.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.38, allocations: 48.91 kB / 388.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.381, allocations: 1.72 MB / 390.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.3812, allocations: 25.47 kB / 390.2 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3812, allocations: 5.969 kB / 390.3 MB, free: 4.211 MB / 318.1 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 (24): * Single equations (assignments): 23 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.3813, allocations: 197 kB / 390.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.3814, allocations: 18.47 kB / 390.5 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.3815, allocations: 26.02 kB / 390.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3815, allocations: 2.25 kB / 390.5 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3815, allocations: 4.781 kB / 390.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3815, allocations: 4.625 kB / 390.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009591/0.3824, allocations: 0.6221 MB / 391.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3825, allocations: 0.5625 kB / 391.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.3826, allocations: 34.06 kB / 391.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.3829, allocations: 69.06 kB / 391.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3829, allocations: 1.406 kB / 391.2 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.3845, allocations: 1.874 MB / 393.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3845, allocations: 0 / 393.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006771/0.3852, allocations: 417.3 kB / 393.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.3853, allocations: 114.2 kB / 393.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3853, allocations: 1.219 kB / 393.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.3855, allocations: 21.42 kB / 393.6 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3855, allocations: 11.48 kB / 393.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3855, allocations: 9.312 kB / 393.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.3857, allocations: 165.2 kB / 393.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3857, allocations: 0 / 393.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006944/0.3864, allocations: 128.8 kB / 393.9 MB, free: 1.395 MB / 318.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.3866, allocations: 104.5 kB / 394.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009491/0.3875, allocations: 0.5449 MB / 394.6 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3875, allocations: 5.938 kB / 394.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.3878, allocations: 207.1 kB / 394.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.3882, allocations: 33.72 kB / 394.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.39, allocations: 0.7724 MB / 395.6 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3903, allocations: 0.7572 MB / 396.4 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.3904, allocations: 18.72 kB / 396.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3904, allocations: 0 / 396.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of Templates: time 0.008121/0.3985, allocations: 3.821 MB / 400.2 MB, free: 15.42 MB / 334.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches