Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002496/0.002496, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.626/1.626, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=999,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 55.86 kB / 378.3 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2912, allocations: 53.36 MB / 431.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004183/0.2953, allocations: 2.539 MB / 434.2 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.2967, allocations: 0.6661 MB / 434.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.2969, allocations: 7.938 kB / 434.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.2971, allocations: 43.58 kB / 434.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.2973, allocations: 95.23 kB / 435 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.2975, allocations: 87.83 kB / 435 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.298, allocations: 342.5 kB / 435.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.2982, allocations: 76.52 kB / 435.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.2985, allocations: 139.5 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.2987, allocations: 115.5 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.2987, allocations: 28 kB / 435.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.2988, allocations: 32 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.985e-05/0.2989, allocations: 67.7 kB / 435.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.299, allocations: 123.4 kB / 436 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.2994, allocations: 318.7 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2994, allocations: 0 / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2994, allocations: 0 / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.2994, allocations: 0 / 436.3 MB, free: 2.195 MB / 334.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.00105/0.3005, allocations: 0.5208 MB / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3005, allocations: 12.03 kB / 436.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.3006, allocations: 28.75 kB / 436.8 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.301, allocations: 214 kB / 437 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.301, allocations: 16.88 kB / 437 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.301, allocations: 24.38 kB / 437.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.3017, allocations: 360.1 kB / 437.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3017, allocations: 0 / 437.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.3017, allocations: 12 kB / 437.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3017, allocations: 4 kB / 437.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.3022, allocations: 205.9 kB / 437.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3039, allocations: 0.8679 MB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.3044, allocations: 178.5 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.3049, allocations: 148.7 kB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3049, allocations: 320 / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.3049, allocations: 38.55 kB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.503e-06/0.3049, allocations: 0 / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001825/0.3068, allocations: 484.5 kB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.3068, allocations: 59.34 kB / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.3071, allocations: 234.7 kB / 439.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3071, allocations: 29.64 kB / 439.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.3073, allocations: 188.1 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.3074, allocations: 67.34 kB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.3074, allocations: 45.7 kB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3076, allocations: 330.8 kB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.3078, allocations: 67.97 kB / 440.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.308, allocations: 131.6 kB / 440.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.3084, allocations: 204.9 kB / 440.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3084, allocations: 4 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008597/0.3093, allocations: 353.1 kB / 441 MB, free: 13.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3093, allocations: 4 kB / 441 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3093, allocations: 4 kB / 441 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/0.3097, allocations: 84.8 kB / 441.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.3099, allocations: 47.97 kB / 441.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003153/0.3131, allocations: 1.867 MB / 443 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.3132, allocations: 35.89 kB / 443.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3133, allocations: 12 kB / 443.1 MB, free: 11.01 MB / 350.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.0001644/0.3134, allocations: 133.8 kB / 443.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.3135, allocations: 19.86 kB / 443.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.789e-05/0.3135, allocations: 25.8 kB / 443.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3135, allocations: 4 kB / 443.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3135, allocations: 3.938 kB / 443.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3135, allocations: 0 / 443.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3147, allocations: 0.5612 MB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3147, allocations: 4 kB / 443.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.3149, allocations: 27.98 kB / 443.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002682/0.3151, allocations: 80.83 kB / 443.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.3151, allocations: 7.938 kB / 443.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.3176, allocations: 1.778 MB / 445.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3176, allocations: 4.031 kB / 445.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.3187, allocations: 462.7 kB / 446.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.3187, allocations: 23.89 kB / 446.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3187, allocations: 8 kB / 446.2 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.3189, allocations: 15.98 kB / 446.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.319, allocations: 15.97 kB / 446.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.319, allocations: 7.938 kB / 446.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.3191, allocations: 156.5 kB / 446.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3191, allocations: 0 / 446.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004453/0.3196, allocations: 75.89 kB / 446.5 MB, free: 7.445 MB / 350.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.0001606/0.3197, allocations: 103.2 kB / 446.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.3207, allocations: 362.4 kB / 446.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3207, allocations: 0 / 446.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.321, allocations: 206.9 kB / 447.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.3214, allocations: 43.94 kB / 447.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.324, allocations: 0.8664 MB / 448 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.3241, allocations: 150.1 kB / 448.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.595e-05/0.3242, allocations: 13.95 kB / 448.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.826e-05/0.3243, allocations: 19.44 kB / 448.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3243, allocations: 0 / 448.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of Templates: time 0.007423/0.3317, allocations: 2.963 MB / 451.2 MB, free: 2.703 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.822745395824313]