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.0007552/0.0007552, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001827, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006862/0.0006862, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008687/0.001555, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9563/0.9563, allocations: 177.2 MB / 189.6 MB, free: 5.289 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08933/1.046, allocations: 53.64 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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=1000,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=1000,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 1.503e-06/1.503e-06, allocations: 0 / 244.6 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.866e-05, allocations: 2.312 kB / 244.6 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003845/0.003864, allocations: 2.743 MB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.005281, allocations: 0.7203 MB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.005408, allocations: 7.938 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.832e-05/0.005496, allocations: 39.58 kB / 248.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.005646, allocations: 99.11 kB / 248.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.005816, allocations: 91.75 kB / 248.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.006091, allocations: 354.4 kB / 248.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.006247, allocations: 76.02 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.00654, allocations: 223.5 kB / 248.9 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.006661, allocations: 99.69 kB / 249 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.006695, allocations: 28 kB / 249 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.006725, allocations: 28 kB / 249.1 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.006758, allocations: 43.81 kB / 249.1 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.00683, allocations: 91.75 kB / 249.2 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.007032, allocations: 191.3 kB / 249.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.007047, allocations: 0 / 249.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007049, allocations: 0 / 249.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.007064, allocations: 7.938 kB / 249.4 MB, free: 9.406 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.0006335/0.007698, allocations: 0.5465 MB / 249.9 MB, free: 8.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.007726, allocations: 8.031 kB / 249.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.007778, allocations: 44.91 kB / 250 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.007971, allocations: 181.3 kB / 250.2 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.007986, allocations: 20.88 kB / 250.2 MB, free: 8.562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.008016, allocations: 24.38 kB / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.00828, allocations: 293.1 kB / 250.5 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.008289, allocations: 4.188 kB / 250.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.008303, allocations: 4.375 kB / 250.5 MB, free: 8.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.008313, allocations: 15.92 kB / 250.5 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.319e-05/0.008396, allocations: 75.41 kB / 250.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.009163, allocations: 0.6971 MB / 251.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.009372, allocations: 122.4 kB / 251.4 MB, free: 7.254 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.009516, allocations: 96.78 kB / 251.5 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.009538, allocations: 8 kB / 251.5 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.00956, allocations: 34.56 kB / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.009562, allocations: 0 / 251.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005022/0.01006, allocations: 273.4 kB / 251.8 MB, free: 6.832 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.01009, allocations: 55.41 kB / 251.9 MB, free: 6.766 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.0102, allocations: 202.3 kB / 252.1 MB, free: 6.555 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.01021, allocations: 29.7 kB / 252.1 MB, free: 6.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.01027, allocations: 176 kB / 252.3 MB, free: 6.344 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.0103, allocations: 59.47 kB / 252.3 MB, free: 6.285 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.01035, allocations: 53.62 kB / 252.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.01044, allocations: 330.7 kB / 252.7 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.01047, allocations: 23.98 kB / 252.7 MB, free: 5.871 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.01053, allocations: 86.77 kB / 252.8 MB, free: 5.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.278e-05/0.01062, allocations: 126.7 kB / 252.9 MB, free: 5.613 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01062, allocations: 0 / 252.9 MB, free: 5.613 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002558/0.01088, allocations: 198.2 kB / 253.1 MB, free: 5.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.0109, allocations: 4 kB / 253.1 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.0109, allocations: 4 kB / 253.1 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.01113, allocations: 72.81 kB / 253.2 MB, free: 5.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01128, allocations: 66.64 kB / 253.3 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009625/0.01225, allocations: 1.473 MB / 254.7 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.333e-05/0.01232, allocations: 23.83 kB / 254.8 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.01233, allocations: 16.06 kB / 254.8 MB, free: 3.668 MB / 250.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 6.509e-05/0.01239, allocations: 121.8 kB / 254.9 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.01242, allocations: 27.97 kB / 254.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.111e-05/0.01244, allocations: 21.81 kB / 254.9 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01244, allocations: 4.031 kB / 255 MB, free: 3.488 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01245, allocations: 4 kB / 255 MB, free: 3.484 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01245, allocations: 3.984 kB / 255 MB, free: 3.48 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.0128, allocations: 367.2 kB / 255.3 MB, free: 3.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.0128, allocations: 7.938 kB / 255.3 MB, free: 3.086 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.01291, allocations: 50.91 kB / 255.4 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.01293, allocations: 15.86 kB / 255.4 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.01307, allocations: 64.81 kB / 255.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01308, allocations: 7.984 kB / 255.5 MB, free: 2.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008112/0.01389, allocations: 1.435 MB / 256.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01389, allocations: 0 / 256.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.01411, allocations: 275.4 kB / 257.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.01413, allocations: 4 kB / 257.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.0142, allocations: 20.05 kB / 257.2 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.01422, allocations: 11.98 kB / 257.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.01423, allocations: 4 kB / 257.2 MB, free: 1.105 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.01427, allocations: 65.94 kB / 257.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01427, allocations: 0 / 257.3 MB, free: 1.039 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.01451, allocations: 79.83 kB / 257.3 MB, free: 0.9609 MB / 250.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 9.41e-05/0.0146, allocations: 84.36 kB / 257.4 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.0149, allocations: 267.3 kB / 257.7 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/0.01491, allocations: 4 kB / 257.7 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01502, allocations: 179.3 kB / 257.9 MB, free: 412 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.01521, allocations: 48.42 kB / 257.9 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.01746, allocations: 0.6466 MB / 258.6 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.0175, allocations: 84.31 kB / 258.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.01756, allocations: 25.98 kB / 258.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.01765, allocations: 83.36 kB / 258.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01765, allocations: 0 / 258.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Templates: time 0.005394/0.02304, allocations: 3.131 MB / 261.9 MB, free: 12.39 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5106702279299498]