Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 113 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 258.1 MB, free: 8.164 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 75.81 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004254/0.2985, allocations: 2.752 MB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2999, allocations: 0.7089 MB / 435.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.3001, allocations: 4 kB / 435.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.3003, allocations: 39.58 kB / 435.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.3005, allocations: 91.19 kB / 435.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.3007, allocations: 91.88 kB / 435.8 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.3011, allocations: 342.4 kB / 436.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.3013, allocations: 85.69 kB / 436.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.3016, allocations: 135.5 kB / 436.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3018, allocations: 139.3 kB / 436.5 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.3019, allocations: 28 kB / 436.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.826e-05/0.3019, allocations: 28 kB / 436.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.302, allocations: 63.77 kB / 436.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.3021, allocations: 143.3 kB / 436.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.3026, allocations: 324.6 kB / 437 MB, free: 2.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3026, allocations: 0 / 437 MB, free: 2.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3026, allocations: 4 kB / 437 MB, free: 2.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.3026, allocations: 0 / 437 MB, free: 2.434 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.001089/0.3037, allocations: 0.5884 MB / 437.6 MB, free: 1.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3037, allocations: 12.03 kB / 437.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.3038, allocations: 32.75 kB / 437.7 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.3042, allocations: 267.9 kB / 437.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.3042, allocations: 24.88 kB / 438 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.3043, allocations: 24.38 kB / 438 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.3048, allocations: 280 kB / 438.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3048, allocations: 0 / 438.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.3049, allocations: 15.98 kB / 438.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3049, allocations: 7.938 kB / 438.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.3053, allocations: 214.1 kB / 438.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.307, allocations: 0.9998 MB / 439.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.3075, allocations: 178.5 kB / 439.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/0.3079, allocations: 144.8 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3079, allocations: 4 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.308, allocations: 34.88 kB / 439.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.308, allocations: 0 / 439.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001812/0.3098, allocations: 0.5564 MB / 440.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.3098, allocations: 55.41 kB / 440.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.3101, allocations: 229 kB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3101, allocations: 33.7 kB / 440.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3102, allocations: 184.1 kB / 440.9 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.3103, allocations: 59.48 kB / 440.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.3104, allocations: 49.66 kB / 441 MB, free: 14.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3105, allocations: 334.8 kB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.3107, allocations: 63.97 kB / 441.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.3109, allocations: 139.3 kB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.3113, allocations: 202.7 kB / 441.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3113, allocations: 3.938 kB / 441.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008665/0.3122, allocations: 364.7 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3122, allocations: 4 kB / 442.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3122, allocations: 4 kB / 442.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000387/0.3126, allocations: 84.86 kB / 442.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.3128, allocations: 51.91 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.3159, allocations: 1.995 MB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.3161, allocations: 31.86 kB / 444.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3161, allocations: 11.94 kB / 444.2 MB, free: 10.75 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.0001686/0.3163, allocations: 145.7 kB / 444.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.106e-05/0.3163, allocations: 19.92 kB / 444.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.3164, allocations: 34.22 kB / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3164, allocations: 3.984 kB / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3164, allocations: 0 / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3164, allocations: 0 / 444.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.3176, allocations: 0.6513 MB / 445.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3176, allocations: 0 / 445.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.3178, allocations: 31.98 kB / 445.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.3181, allocations: 80.92 kB / 445.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3181, allocations: 4 kB / 445.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.3206, allocations: 1.916 MB / 447.1 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3206, allocations: 7.969 kB / 447.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009803/0.3216, allocations: 459 kB / 447.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.3217, allocations: 96.94 kB / 447.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3217, allocations: 8 kB / 447.7 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3219, allocations: 20.05 kB / 447.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.3219, allocations: 11.98 kB / 447.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.3219, allocations: 7.984 kB / 447.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3221, allocations: 172.4 kB / 447.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3221, allocations: 0 / 447.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004277/0.3225, allocations: 71.89 kB / 448 MB, free: 6.789 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.000163/0.3227, allocations: 107.2 kB / 448.1 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009501/0.3236, allocations: 366.4 kB / 448.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3236, allocations: 0 / 448.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.324, allocations: 206.8 kB / 448.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3243, allocations: 40.78 kB / 448.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.3269, allocations: 0.9059 MB / 449.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.3273, allocations: 0.7518 MB / 450.3 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.3273, allocations: 19.44 kB / 450.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3273, allocations: 0 / 450.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of Templates: time 0.006277/0.3336, allocations: 3.759 MB / 454.1 MB, free: 0.5508 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LCOscillator/LCOscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.271384934894741]