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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108 kB / 17.06 MB, free: 5.824 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.001128/0.001128, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009643/0.0009643, allocations: 51.92 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3725, allocations: 49.44 MB / 400.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004314/0.3768, allocations: 2.694 MB / 403.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3783, allocations: 0.6739 MB / 404.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.3784, allocations: 4 kB / 404.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.3786, allocations: 47.52 kB / 404.2 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.3788, allocations: 87.23 kB / 404.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.3791, allocations: 87.83 kB / 404.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.3795, allocations: 346.5 kB / 404.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.3797, allocations: 101.7 kB / 404.8 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3799, allocations: 135.5 kB / 404.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.3801, allocations: 143.3 kB / 405.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.3801, allocations: 28 kB / 405.1 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.193e-05/0.3802, allocations: 31.94 kB / 405.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.3803, allocations: 59.83 kB / 405.2 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3804, allocations: 147.2 kB / 405.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.3808, allocations: 320 kB / 405.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3808, allocations: 0 / 405.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3808, allocations: 0 / 405.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3808, allocations: 0 / 405.6 MB, free: 3.973 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.0009555/0.3817, allocations: 0.5887 MB / 406.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3818, allocations: 11.89 kB / 406.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.3819, allocations: 36.66 kB / 406.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.3823, allocations: 268.2 kB / 406.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3823, allocations: 16.94 kB / 406.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.3824, allocations: 24.38 kB / 406.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.3829, allocations: 280 kB / 406.8 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3829, allocations: 4 kB / 406.9 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.3829, allocations: 12 kB / 406.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.383, allocations: 4 kB / 406.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.3834, allocations: 206.1 kB / 407.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.3849, allocations: 1.011 MB / 408.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004593/0.3854, allocations: 182.5 kB / 408.3 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.3858, allocations: 157.1 kB / 408.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3858, allocations: 11.89 kB / 408.4 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3859, allocations: 34.55 kB / 408.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.3859, allocations: 0 / 408.5 MB, free: 0.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001737/0.3876, allocations: 0.5637 MB / 409 MB, free: 376 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.3877, allocations: 55.41 kB / 409.1 MB, free: 308 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.3879, allocations: 225 kB / 409.3 MB, free: 72 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.3879, allocations: 33.7 kB / 409.3 MB, free: 32 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3881, allocations: 175.8 kB / 409.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.3881, allocations: 63.09 kB / 409.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.3882, allocations: 49.61 kB / 409.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3884, allocations: 334.8 kB / 409.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.3885, allocations: 67.95 kB / 410 MB, free: 15.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.3888, allocations: 134.8 kB / 410.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.3892, allocations: 204.3 kB / 410.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3892, allocations: 0 / 410.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008334/0.39, allocations: 356.4 kB / 410.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.39, allocations: 4 kB / 410.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3901, allocations: 7.984 kB / 410.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.3904, allocations: 80.86 kB / 410.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3906, allocations: 51.86 kB / 410.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.3934, allocations: 2.005 MB / 412.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.3936, allocations: 31.92 kB / 412.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.3937, allocations: 8 kB / 412.9 MB, free: 12.27 MB / 334.1 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.000136/0.3938, allocations: 153.6 kB / 413 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.3939, allocations: 23.72 kB / 413 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.3939, allocations: 26.17 kB / 413.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.3939, allocations: 0 / 413.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3939, allocations: 0 / 413.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3939, allocations: 4 kB / 413.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3951, allocations: 0.6551 MB / 413.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3951, allocations: 0 / 413.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3953, allocations: 31.97 kB / 413.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.3956, allocations: 76.81 kB / 413.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.3956, allocations: 7.922 kB / 413.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002446/0.3981, allocations: 1.927 MB / 415.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3981, allocations: 0 / 415.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009447/0.399, allocations: 459 kB / 416.2 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.3991, allocations: 96.84 kB / 416.3 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3991, allocations: 4 kB / 416.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.3993, allocations: 19.98 kB / 416.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.3994, allocations: 11.98 kB / 416.3 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.3994, allocations: 8.062 kB / 416.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.3996, allocations: 176.4 kB / 416.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3996, allocations: 3.938 kB / 416.5 MB, free: 8.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005043/0.4001, allocations: 71.84 kB / 416.6 MB, free: 8.289 MB / 334.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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.4003, allocations: 99.25 kB / 416.7 MB, free: 8.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009328/0.4012, allocations: 374.4 kB / 417.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4012, allocations: 4 kB / 417.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.4015, allocations: 206.5 kB / 417.3 MB, free: 7.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.4019, allocations: 36.91 kB / 417.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.4044, allocations: 0.862 MB / 418.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4047, allocations: 0.7518 MB / 418.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.887e-05/0.4048, allocations: 21.95 kB / 418.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.4049, allocations: 19.44 kB / 419 MB, free: 5.832 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4049, allocations: 0 / 419 MB, free: 5.832 MB / 334.1 MB Notification: Performance of Templates: time 0.006973/0.4119, allocations: 2.929 MB / 421.9 MB, free: 2.926 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches