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.001279/0.001279, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001251/0.001251, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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.542/1.542, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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=999,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=999,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 0.002105/0.002105, allocations: 51.92 kB / 368.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 52.14 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004156/0.3138, allocations: 2.724 MB / 423.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3151, allocations: 0.6739 MB / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3152, allocations: 8 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.3154, allocations: 51.5 kB / 424.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.3156, allocations: 83.25 kB / 424.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.3159, allocations: 95.81 kB / 424.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.3162, allocations: 334.5 kB / 424.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.3165, allocations: 93.56 kB / 425 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.3167, allocations: 127.5 kB / 425.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.3168, allocations: 139.4 kB / 425.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.3169, allocations: 24 kB / 425.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.3169, allocations: 28 kB / 425.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.317, allocations: 67.75 kB / 425.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.3172, allocations: 143.3 kB / 425.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.3175, allocations: 323.9 kB / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3175, allocations: 0 / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3175, allocations: 0 / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3176, allocations: 0 / 425.8 MB, free: 10.16 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.001093/0.3186, allocations: 0.6001 MB / 426.4 MB, free: 9.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3187, allocations: 8.031 kB / 426.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.3188, allocations: 32.75 kB / 426.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.3192, allocations: 260.4 kB / 426.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.3192, allocations: 20.94 kB / 426.7 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.3192, allocations: 24.38 kB / 426.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.3198, allocations: 276 kB / 427 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3198, allocations: 0 / 427 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.3198, allocations: 12 kB / 427 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.3198, allocations: 8 kB / 427 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004559/0.3203, allocations: 214 kB / 427.2 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.3219, allocations: 1.008 MB / 428.2 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.3224, allocations: 178.5 kB / 428.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.3228, allocations: 147.9 kB / 428.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3228, allocations: 4 kB / 428.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.3229, allocations: 38.55 kB / 428.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.532e-06/0.3229, allocations: 0 / 428.6 MB, free: 7.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00175/0.3246, allocations: 0.554 MB / 429.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3247, allocations: 55.41 kB / 429.2 MB, free: 6.516 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.3249, allocations: 228.9 kB / 429.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.325, allocations: 33.7 kB / 429.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3251, allocations: 184.1 kB / 429.6 MB, free: 6.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.3252, allocations: 71.41 kB / 429.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.3252, allocations: 45.7 kB / 429.8 MB, free: 5.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3254, allocations: 326.8 kB / 430.1 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3256, allocations: 71.95 kB / 430.1 MB, free: 5.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.3258, allocations: 134.8 kB / 430.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.3262, allocations: 201.9 kB / 430.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3262, allocations: 4 kB / 430.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008415/0.3271, allocations: 354.1 kB / 430.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3271, allocations: 4 kB / 430.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3271, allocations: 4 kB / 430.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.3274, allocations: 84.84 kB / 430.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.3276, allocations: 47.92 kB / 431 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.3305, allocations: 2.009 MB / 433 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.3307, allocations: 39.8 kB / 433 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3307, allocations: 8 kB / 433 MB, free: 2.469 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.0001396/0.3308, allocations: 145.7 kB / 433.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.837e-05/0.3309, allocations: 23.86 kB / 433.2 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.3309, allocations: 30.23 kB / 433.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3309, allocations: 0 / 433.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.3309, allocations: 0 / 433.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3309, allocations: 0 / 433.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.3321, allocations: 0.6551 MB / 433.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3321, allocations: 0 / 433.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.3322, allocations: 35.91 kB / 433.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.3325, allocations: 76.81 kB / 434 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.3325, allocations: 7.984 kB / 434 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.335, allocations: 1.92 MB / 435.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.335, allocations: 4.062 kB / 435.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009106/0.3359, allocations: 458.6 kB / 436.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/0.336, allocations: 104.9 kB / 436.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.336, allocations: 4 kB / 436.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.3362, allocations: 20.05 kB / 436.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3362, allocations: 15.98 kB / 436.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3362, allocations: 4 kB / 436.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.3364, allocations: 172.4 kB / 436.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3364, allocations: 3.938 kB / 436.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.3368, allocations: 71.89 kB / 436.7 MB, free: 14.49 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.0001504/0.337, allocations: 107.2 kB / 436.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009346/0.3379, allocations: 368.3 kB / 437.2 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3379, allocations: 0 / 437.2 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.3382, allocations: 198.9 kB / 437.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3386, allocations: 44.77 kB / 437.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.3409, allocations: 0.8807 MB / 438.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3413, allocations: 0.7519 MB / 439.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.3414, allocations: 17.94 kB / 439.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.3414, allocations: 19.44 kB / 439.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3414, allocations: 4 kB / 439.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Templates: time 0.007028/0.3484, allocations: 3.028 MB / 442.2 MB, free: 9.016 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.637379748746753]