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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 147.7 kB / 24.98 MB, free: 8.812 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.021/1.021, allocations: 173.4 MB / 201.5 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.709e-05, allocations: 13.56 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002595/0.002612, allocations: 2.693 MB / 270.8 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.003954, allocations: 0.6544 MB / 271.5 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.004084, allocations: 7.938 kB / 271.5 MB, free: 3.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.004231, allocations: 51.5 kB / 271.5 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.004407, allocations: 91.23 kB / 271.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.004645, allocations: 95.75 kB / 271.7 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.004954, allocations: 350.3 kB / 272.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.005133, allocations: 82.03 kB / 272.1 MB, free: 2.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.005384, allocations: 195.5 kB / 272.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.00552, allocations: 99.69 kB / 272.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.005562, allocations: 28 kB / 272.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.711e-05/0.005599, allocations: 28 kB / 272.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.005647, allocations: 63.75 kB / 272.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.346e-05/0.00574, allocations: 99.75 kB / 272.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.005984, allocations: 219.1 kB / 272.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005986, allocations: 0 / 272.9 MB, free: 1.934 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005987, allocations: 4 kB / 272.9 MB, free: 1.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005991, allocations: 0 / 272.9 MB, free: 1.93 MB / 250.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.0007389/0.00673, allocations: 0.6013 MB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.006766, allocations: 12.03 kB / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.006848, allocations: 52.75 kB / 273.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.007116, allocations: 224 kB / 273.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.007137, allocations: 20.88 kB / 273.8 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.007178, allocations: 24.38 kB / 273.8 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.007571, allocations: 310.8 kB / 274.1 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.007581, allocations: 192 / 274.1 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.007604, allocations: 8.375 kB / 274.1 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.007617, allocations: 15.94 kB / 274.1 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.007811, allocations: 106.9 kB / 274.2 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.008944, allocations: 0.9289 MB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.009229, allocations: 139.1 kB / 275.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.009469, allocations: 118.6 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.009488, allocations: 4 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.009514, allocations: 41.33 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.482e-06/0.009516, allocations: 3.938 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007773/0.01029, allocations: 313.2 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.01032, allocations: 63.34 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.01051, allocations: 269.3 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.01053, allocations: 29.7 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.01064, allocations: 226.9 kB / 276.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.01068, allocations: 63.44 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.01074, allocations: 51.36 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01087, allocations: 0.5039 MB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.01094, allocations: 31.98 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01104, allocations: 117.5 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.01123, allocations: 164.2 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01123, allocations: 0 / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004002/0.01163, allocations: 253 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01164, allocations: 4 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01165, allocations: 4 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.01193, allocations: 71.7 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01208, allocations: 55.91 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.01369, allocations: 2.164 MB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.0138, allocations: 23.84 kB / 279.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.01381, allocations: 11.98 kB / 279.8 MB, free: 10.5 MB / 266.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 9.294e-05/0.01391, allocations: 172.5 kB / 280 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.01395, allocations: 31.8 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.01398, allocations: 21.81 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01398, allocations: 0 / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01399, allocations: 3.938 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01399, allocations: 3.984 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.01457, allocations: 0.5124 MB / 280.6 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01457, allocations: 4 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.01468, allocations: 27.98 kB / 280.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/0.01488, allocations: 75.77 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01489, allocations: 8 kB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.016, allocations: 2.121 MB / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01601, allocations: 32 / 282.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.01639, allocations: 381.7 kB / 283.2 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.01642, allocations: 19.84 kB / 283.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.01644, allocations: 7.875 kB / 283.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.01656, allocations: 19.98 kB / 283.2 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.01659, allocations: 19.94 kB / 283.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.0166, allocations: 8 kB / 283.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.0167, allocations: 184.5 kB / 283.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0167, allocations: 0 / 283.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.01708, allocations: 75.84 kB / 283.5 MB, free: 6.613 MB / 266.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 8.46e-05/0.01716, allocations: 95.25 kB / 283.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000462/0.01763, allocations: 344.2 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01763, allocations: 0 / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.0178, allocations: 249.3 kB / 284.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.0181, allocations: 32.42 kB / 284.2 MB, free: 5.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.01948, allocations: 0.6667 MB / 284.9 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.818e-05/0.01954, allocations: 84.31 kB / 285 MB, free: 5.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.18e-05/0.0196, allocations: 17.95 kB / 285 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.01964, allocations: 16.5 kB / 285 MB, free: 5.035 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01964, allocations: 0 / 285 MB, free: 5.035 MB / 266.7 MB Notification: Performance of Templates: time 0.005337/0.02497, allocations: 2.745 MB / 287.7 MB, free: 2.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.000870956107974]